GET
/
webhook
/
api_key
/
validate
Validate API Key
curl --request GET \
  --url https://webhook.cocoonmail.com/webhook/api_key/validate \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Validate API Key

Use this endpoint to validate your API Key

Response fields

PropertyDescription
400Bad request
401Request authentication
403Too many bad requests. Temparory block
406Missing accept header. For example : Accept: application/json
429Too many requests/ Rate limit exceeded
500Internal server error
{
  "success": true
}

Authorizations

Authorization
string
header
required

Use your API key with the 'Bearer ' prefix

Response

200
application/json

For valid API Key.

The response is of type object.