GoodInboxes Developers
API reference
</>API reference

Set auto-renewal for up to 50 inboxes

POST
/api/v1/inboxes/renewal

Owned-resource observations and explicitly approved renewal settings. Reads never check DNS live. Disabling renewal preserves service through the paid period.

Requires the separate write flag and explicitly granted scope. Existing tokens do not gain this permission. Re-enabling native billing requires an existing eligible contract.

Required scope: inboxes:renewal:write.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Scoped GoodInboxes API token

Request Body

application/json
  1. body
inboxIds*array<>
Items1 <= items <= 50
enabled*boolean
requestId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
consent*boolean

Response Body

Saved or partial receipt with per-inbox saved/error results. Unknown results must not be treated as success. No payment, mailbox deletion, or new billing agreement is created.

application/json
  1. response
data*

Saved or partial receipt with per-inbox saved/error results. Unknown results must not be treated as success. No payment, mailbox deletion, or new billing agreement is created.

requestId?string
curl -X POST "https://example.com/api/v1/inboxes/renewal" \  -H "Content-Type: application/json" \  -d '{    "inboxIds": [      "c4ffa30f-61cc-4fa5-94f6-a835edd7ebd0"    ],    "enabled": true,    "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",    "consent": true  }'
{  "data": {},  "requestId": "string"}