Set an email sender's spacing

The minimum wait between two sends from one mailbox across every campaign, and its daily campaign email ceiling.

PUThttps://app.trygtm.com/api/v1/senders/{sender_id}/email-spacing
Scope
write

Path parameters

sender_idstringrequired
The email sender's id, from list_senders with kind email.

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.

Body

minutesintegeroptional
Minutes to wait between two sends from this mailbox, 0 to 1440.
campaign_daily_limitintegeroptional
Most campaign emails this mailbox sends a day.

Request

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

Response

{
  "data": {
    "sender_id": "d4c3b2a1-0f9e-4d8c-8b7a-6f5e4d3c2b1a",
    "saved": true
  }
}

Was this page helpful?