Recheck an SMS number
Ask the provider again whether the number is ready: credentials, number ownership and reply routing. Does not resume a paused number.
POST
https://app.trygtm.com/api/v1/sms/senders/{sender_id}/refresh- Scope
write- MCP tool
- refresh_sms_sender
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/refresh \
-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."
}
}