All Collections
Tango API & Webhooks
Start Here
API Authentication (API Token)
API Authentication (API Token)
Hayden Dover avatar
Written by Hayden Dover
Updated over a week ago

The Tango API uses the Bearer Token authentication method.

To authenticate an API request, you must include the 'Authorization' header and your API token as the value.

You can view and manage your API tokens in your settings.

Testing Authentication

To test your API token and connection to the Tango API, use the /ping endpoint.

This is a simple endpoint used to ping the server, check the status and authentication.


Example request

curl --location --request POST '' \
--header 'Authorization: Bearer {{api_token}}'



"status": "success",
"message": "Pong! Thanks John Doe"


"error": {
"code": "unauthorized",
"message": "The authentication details provided are invalid or access to the resource was rejected."
Did this answer your question?