Retry the sender photo

Send the current photo again to one managed mailbox, or to every mailbox that needs attention or is waiting.

POSThttps://app.trygtm.com/api/v1/senders/photo/retry
Scope
write

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

mailbox_idstring | nulloptional
A mailbox's id from get_sender_photo's mailboxes. Omit for every mailbox.

Request

curl -X POST https://app.trygtm.com/api/v1/senders/photo/retry \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response

{
  "data": {
    "queued": 2
  }
}

Was this page helpful?