We are now open for everyone. Get Started.
curl --location --request GET 'https://dev.api.ziett.co/c/v1/campaigns//messages?q=&size=30&page=1&order=desc&order_by=created_at&contact_id=&campaign_id=&status=&trigger_source=&channel_type=&channel_destination=&sms_remitter_id=&created_at__ge=&created_at__le=' \
--header 'X-API-KEY: <api-key>'{
"entries": [
{
"id": "string",
"updated_at": "2019-08-24T14:15:22.123Z",
"created_at": "2019-08-24T14:15:22.123Z",
"organization_id": "string",
"campaign_id": "string",
"contact_id": "string",
"sms_remitter_id": "string",
"sms_remitter": {
"name": "Ziett"
},
"external_id": "string",
"cost": "3423.23",
"billing_account_id": "string",
"channel_type": "SMS",
"channel_destination": "UNITEL",
"provider_id": "string",
"e164_format": "+244990090990",
"content": "string",
"trigger_source": "API_CLIENT",
"error_code": "INVALID_PHONE_NUMBER",
"is_refunded": true,
"status": "PENDING",
"contact": {
"id": "string",
"updated_at": "2019-08-24T14:15:22.123Z",
"created_at": "2019-08-24T14:15:22.123Z",
"name": "string",
"email": "user@example.com",
"e164_format": "+244990090990",
"organization_id": "string"
},
"campaign": {
"id": "string",
"updated_at": "2019-08-24T14:15:22.123Z",
"created_at": "2019-08-24T14:15:22.123Z",
"name": "string",
"status": "DRAFT"
}
}
],
"total": 0,
"page": 1,
"size": 1,
"pages": 0
}