POST
/
webhook
/
mail
/
usage
Email usage
curl --request POST \
  --url https://webhook.cocoonmail.com/webhook/mail/usage \
  --header 'Authorization: Bearer <token>'
{
    "success":true
}

Send transactional mail

Use this endpoint to check transactional usage.

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

Successful retrieval of quota information

The response is of type object.