Resume an SMS number

Let a paused number send again once the provider confirms it is ready; it is rechecked in the same call.

POSThttps://app.trygtm.com/api/v1/sms/senders/{sender_id}/resume
Scope
write

Path parameters

sender_idstringrequired
The SMS number's connection id, from list_sms_senders.

Headers

Idempotency-Keystringoptional
A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.

Request

curl -X POST https://app.trygtm.com/api/v1/sms/senders/8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10/resume \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response

{
  "data": {
    "sender_id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
    "status": "approved",
    "detail": "Ready to send."
  }
}

Was this page helpful?