Authentication
You need to create an API key in Access Keys to access the Sona API. The API key should be included in the header of your API request as x-api-key.
The API Keys Settings page details how to create a new key and ensure that it is ready to use.
Example Request
curl --request GET \
--url "https://api2.sonalabs.com/resource/profile360/[email protected]" \
--header "x-api-key: your-api-key-here" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
Authentication Headers
All authenticated endpoints require the following header:
| Header | Value | Description |
|---|---|---|
x-api-key | Your API key | Required for all API requests |
info
All authenticated endpoints are marked with a requires authentication badge in the documentation.
warning
Keep your API keys secure and never expose them in client-side code or public repositories.