To interact with the Otark API, you must authenticate using an API key. This key is required for all API requests to ensure secure and authorized access.

Obtaining an API Key

To obtain your API key, follow these steps:

  1. Sign up or log in to your Otark account.
  2. Navigate to the API section in your account settings.
  3. Generate a new API key.
  4. Store this key securely; it will be used for all your API requests.

Get your API Key

Using the API Key

The API key must be included in the header of every request. Here’s how to set it up:

curl -X GET "https://api.otark.com/v1/resource" \
-H "X-Api-Key: YOUR_API_KEY"