The API uses Bearer Token Authorization
You can view your API key in your website > Website Settings > Applications> API Key.
You can use your API key to access protected resources in your website only by passing the Authorization
header:
Authorization: Bearer <API KEY>
All API requests must be made over HTTPS
The API uses conventional HTTP response codes to indicate the success or failure of an API request.
In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a resource was missing, etc.). Codes in the 5xx range indicate a serer error or an unprocessable entry.
Every error include a human-readable message:
{
success: false,
message: "Error message..."
}