curl -X GET "https://app.tracklysms.com/api/v2/creatives?status=active&creative_type=automated&page=1&per_page=25" \
-H "X-Api-Key: trk_your_api_key_here"
{
"creatives": [
{
"id": 101,
"name": "Summer Sale Promo",
"message": "Hot deals just for you! Shop now: {{link1}} Reply STOP to opt out.",
"offer_links": [
{
"key": "link1",
"offer_id": "offer_abc123",
"url": null,
"url_params": {"sub1": "sms"}
}
],
"offers": ["offer_abc123"],
"status": "active",
"creative_type": "automated",
"character_count": 97,
"segment_count": 1,
"created_at": "2025-06-10T12:00:00Z"
},
{
"id": 102,
"name": "New Arrivals Alert",
"message": "Check out what just dropped: {{link1}} See more: {{link2}} Reply STOP to opt out.",
"offer_links": [
{
"key": "link1",
"offer_id": "offer_def456",
"url": null,
"url_params": {}
},
{
"key": "link2",
"offer_id": "offer_ghi789",
"url": "https://example.com/new",
"url_params": {}
}
],
"offers": ["offer_def456", "offer_ghi789"],
"status": "active",
"creative_type": "automated",
"character_count": 120,
"segment_count": 1,
"created_at": "2025-06-12T08:30:00Z"
}
],
"pagination": {
"page": 1,
"per_page": 25,
"total": 2,
"total_pages": 1
}
}
Retrieve a paginated list of all creatives in your account.
curl -X GET "https://app.tracklysms.com/api/v2/creatives?status=active&creative_type=automated&page=1&per_page=25" \
-H "X-Api-Key: trk_your_api_key_here"
{
"creatives": [
{
"id": 101,
"name": "Summer Sale Promo",
"message": "Hot deals just for you! Shop now: {{link1}} Reply STOP to opt out.",
"offer_links": [
{
"key": "link1",
"offer_id": "offer_abc123",
"url": null,
"url_params": {"sub1": "sms"}
}
],
"offers": ["offer_abc123"],
"status": "active",
"creative_type": "automated",
"character_count": 97,
"segment_count": 1,
"created_at": "2025-06-10T12:00:00Z"
},
{
"id": 102,
"name": "New Arrivals Alert",
"message": "Check out what just dropped: {{link1}} See more: {{link2}} Reply STOP to opt out.",
"offer_links": [
{
"key": "link1",
"offer_id": "offer_def456",
"url": null,
"url_params": {}
},
{
"key": "link2",
"offer_id": "offer_ghi789",
"url": "https://example.com/new",
"url_params": {}
}
],
"offers": ["offer_def456", "offer_ghi789"],
"status": "active",
"creative_type": "automated",
"character_count": 120,
"segment_count": 1,
"created_at": "2025-06-12T08:30:00Z"
}
],
"pagination": {
"page": 1,
"per_page": 25,
"total": 2,
"total_pages": 1
}
}
active, paused, archived.automated, one_time, welcome. When omitted, all types are returned.100.Show Creative object properties
{{linkN}} placeholders (e.g. {{link1}}, {{link2}}) that are replaced with tracked short links at send time.Show Offer link properties
link1). Corresponds to {{link1}} in the message.active, paused, archived.automated, one_time, welcome.ceil(total / 153).curl -X GET "https://app.tracklysms.com/api/v2/creatives?status=active&creative_type=automated&page=1&per_page=25" \
-H "X-Api-Key: trk_your_api_key_here"
{
"creatives": [
{
"id": 101,
"name": "Summer Sale Promo",
"message": "Hot deals just for you! Shop now: {{link1}} Reply STOP to opt out.",
"offer_links": [
{
"key": "link1",
"offer_id": "offer_abc123",
"url": null,
"url_params": {"sub1": "sms"}
}
],
"offers": ["offer_abc123"],
"status": "active",
"creative_type": "automated",
"character_count": 97,
"segment_count": 1,
"created_at": "2025-06-10T12:00:00Z"
},
{
"id": 102,
"name": "New Arrivals Alert",
"message": "Check out what just dropped: {{link1}} See more: {{link2}} Reply STOP to opt out.",
"offer_links": [
{
"key": "link1",
"offer_id": "offer_def456",
"url": null,
"url_params": {}
},
{
"key": "link2",
"offer_id": "offer_ghi789",
"url": "https://example.com/new",
"url_params": {}
}
],
"offers": ["offer_def456", "offer_ghi789"],
"status": "active",
"creative_type": "automated",
"character_count": 120,
"segment_count": 1,
"created_at": "2025-06-12T08:30:00Z"
}
],
"pagination": {
"page": 1,
"per_page": 25,
"total": 2,
"total_pages": 1
}
}
| HTTP Status | Error Code | Description |
|---|---|---|
| 401 | unauthorized | API key is missing or invalid. |
| 400 | invalid_status | The provided status value is not one of the accepted values. |
| 400 | invalid_creative_type | The provided creative_type value is not one of the accepted values. |