API Reference
Authentication
Learn how to authenticate your API requests
The OtoniStark API uses API keys to authenticate requests. You need to include your API key in the header of each request you make to the API.
Obtaining an API Key
To obtain an API key:
- Log in to your OtoniStark account at https://call.otonistark.com.br
- Navigate to the “API Keys” page
- Click on the “Create new API Key” button
- Copy your new API key and store it securely
Using the API Key
Include your API key in the Authorization header of each request:
Authorization: Bearer YOUR_API_KEY
Replace
YOUR_API_KEY
with your actual API key.
Example Request
Here’s an example of how to include the API key in a cURL request:
curl -X GET "https://call.otonistark.com.br/api/user/campaigns" \
-H "Authorization: Bearer YOUR_API_KEY"
Replace
YOUR_API_KEY
with your actual API key when making requests.