Documentation Index
Fetch the complete documentation index at: https://docs.tracklysms.com/llms.txt
Use this file to discover all available pages before exploring further.
Returns the full details of a single creative, including its message template, offer links, and calculated segment count.
Path Parameters
The unique identifier of the creative.
Response Fields
Unique identifier for the creative.
Display name of the creative.
The message template with {{linkN}} placeholders.
Array of offer link objects that map to placeholders in the message.Show Offer link properties
The placeholder key (e.g. link1).
The ID of the offer associated with this link.
Optional URL override, or null if using the offer’s default URL.
Additional query parameters appended to the link URL.
Array of offer ID strings referenced by this creative.
Current status. One of: active, paused, archived.
The type of creative. One of: automated, one_time, welcome.
Estimated character count of the rendered message. Link placeholders are estimated as 23 characters each, plus 34 characters of compliance overhead.
Estimated number of SMS segments. 1 if total characters are 160 or fewer; otherwise ceil(total / 153).
ISO 8601 timestamp of when the creative was created.
Examples
curl -X GET "https://api.tracklysms.com/api/v2/creatives/101" \
-H "X-Api-Key: trk_your_api_key_here"
{
"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"
}
Error Codes
| HTTP Status | Error Code | Description |
|---|
| 401 | unauthorized | API key is missing or invalid. |
| 404 | not_found | No creative exists with the given ID. |
Next Steps
Creative Templates
Design effective templates
Create Schedule
Use creatives in campaigns