AtServiceTech

SMS API · GUIDE

Submit an SMS DLT content template

The entity and every Sender ID must already be approved and linked. Submit the DLT template ID, type, exact approved message, and evidence.

Content template submission

Use template_type n for Service Implicit messages: service messages related to a customer transaction or action, such as an order or account update. Use y for Service Explicit or Promotional messages: service messages sent with explicit customer consent, or promotional/marketing messages. Match the type recorded for the template in your DLT registration portal; do not guess based on the example. Use one to five HTTPS screenshots. Only a template synchronized as approved can be used in an SMS send request.

POST

Submit a content template

/api/v1/sms/dlt/templates

The generated cURL command includes the API key you entered. Do not share it.

cURL Request
curl --request POST \
  --url 'https://atservicetech.com/api/v1/sms/dlt/templates' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header "Accept: application/json" \
  --header "Content-Type: application/json" \
  --data '{
  "entity_id": "YOUR_APPROVED_ENTITY_ID",
  "sender_ids": ["ATSRVC"],
  "template_id": "YOUR_DLT_TEMPLATE_ID",
  "template_type": "n",
  "message_text": "Your order {#var#} is ready.",
  "screenshot_urls": ["https://example.com/dlt-template.png"]
}'
POST · HTTPS

Response

Enter your API key and request details, then select Try it to see the response.