WhatsApp Lists via API

Technical Documentation: WhatsApp Lists via API

Consulting Lists via API

OPT IN/OUT & BLACK/WHITE LIST

API - Possible list request types:

  • OPT IN

  • OPT OUT

  • BLACK LIST

  • WHITE LIST

  • OPEN SESSIONS

Request

You need to make a GET request to the URL http://api-messaging.wavy.global/v1/list/{listType}?customerId={customerId}&subAccountId={subAccountId}.

The customerId parameter is required, while subAccountId is optional. You should also relay the following headers:

Response

If successful, if there is any data related to the customerId and subAccountId (if specified), the request will return a JSON with 3 attributes:

If there is no associated data, only a similar JSON will be returned, but without the data field, which means no issues occurred with the request, but there weren’t any data related to the parameters relayed.

Last updated