GET
/
webhook
/
lists
cURL
curl --request GET \
  --url https://webhook.cocoonmail.com/webhook/lists \
  --header 'Authorization: Bearer <token>'
{"data":
[{
    "uuid":"fb942f8a-b2f5-42bb-bc5e-c794a1385a9e",
    "name":"List1",
    "is_public":true
    }]
  }

Mailing lists

Use this endpoint to get mailing lists.

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
{"data":
[{
    "uuid":"fb942f8a-b2f5-42bb-bc5e-c794a1385a9e",
    "name":"List1",
    "is_public":true
    }]
  }

Authorizations

Authorization
string
header
required

Use your API key with the 'Bearer ' prefix

Response

200

List retrieved successfully