Our API uses [API Key] for authentication. This method ensures secure access to our services.

Obtaining Authentication Credentials

  1. Register/Login on tapper.ai.
  2. Navigate to the API Keys section.
  3. Click on Create button and follow the instructions on the dialog.

Generated API Key

API key will be displayed only ONCE.

Using Authentication Credentials

Include your credentials in each API request. Here’s an example request:

Replace the <API_KEY> key with your API key, and provide unique name and slug for a link.

curl --request POST \
  --url https://itlinks.to/v1/links \
  --header 'Authorization: <API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": {
    "name": "LINK_NAME",
    "domain": "itlinks.to",
    "slug": "UNIQUE_SLUG",
    "rules": [
      {
        "url_ratios": [
          {
            "url": "destination.url",
            "ratio": 1
          }
        ]
      }
    ]
  }
}'

Securing Your Credentials

  • Never expose your API keys in publicly accessible areas such as GitHub, or client-side code.
  • Store your keys securely using environment variables or a secure key management service.

Handling Expired or Compromised Credentials

If your credentials are expired or compromised, immediately delete the compromised key, generate a new API Key, and update your applications accordingly.

Troubleshooting