cURL
curl --request GET \ --url https://agents.nineteen58.co.za/public-api/campaigns/{id}/get-messages \ --header 'x-api-key: <api-key>'
{ "messages": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "earliest_at": "2023-11-07T05:31:56Z", "sent_at": "2023-11-07T05:31:56Z", "contact": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "identifier": "<string>" }, "step_name": "<string>" } ], "totalCount": 123, "currentPage": 123, "pageSize": 123, "totalPages": 123 }
Returns all messages associated with a campaign, including contact details and step information
API key for authentication
Campaign ID
Page number for pagination
x >= 1
Number of items per page
1 <= x <= 100
Successfully retrieved campaign messages
Show child attributes