Queues another send of the stored message. The recipient comes from the chat contact and the original message, and the account billed is the one the API key belongs to — the body carries neither, and sending accountId or phoneNumber is rejected with 400 rather than ignored.
Security
bearerAuth(Required scopes: inbox.messages:write) or oauth2(Required scopes: inbox.messages:write)
Optional. A unique value of your own, up to 255 printable characters without spaces — a UUID is ideal. The first request carrying it is processed; any later request with the same key returns that first response instead of repeating the work, for 24 hours. A replayed response carries Idempotency-Replayed: true. Reuse the key when you retry after a timeout, and change it when you mean to send again.
- Mock serverhttps://developer.iclosed.io/_mock/openapi/uinbox/v1/modules/messages/v1/messages/retry
- Productionhttps://uinboxpub.api.iclosed.io/v1/messages/retry
curl -i -X POST \
https://developer.iclosed.io/_mock/openapi/uinbox/v1/modules/messages/v1/messages/retry \
-H 'Authorization: Bearer <YOUR_API key_HERE>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: string' \
-d '{
"messageId": "wamid.example",
"chatId": "507f1f77bcf86cd799439011",
"connectionId": "507f191e810c19729de860ea"
}'Response
{ "data": { "messageId": "string", "status": "queued" } }