Learn how to authenticate your API requests using tokens.
Humano uses token-based authentication for API access. Each API request must include a valid token in the Authorization header.
To get started with the API, you need to generate an API token:
Keep your API tokens secure. They have the same permissions as the user who created them. Never share them publicly or commit them to version control.
Include the token in the Authorization header of all API requests:
Authorization: Bearer YOUR_API_TOKEN
curl -X GET "https://wapify.me/api/team/contacts" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
API requests are automatically scoped to the team that owns the API token. You cannot access data from other teams with the same token.
API tokens inherit the permissions of the user who created them. Make sure the user has appropriate permissions for the operations you need to perform.
Common authentication errors:
{
"message": "Unauthenticated.",
"status": 401
}
{
"message": "Authorization header missing.",
"status": 401
}
You can manage your API tokens from the team settings: