GoodInboxes Developers
API reference
</>API reference

Set auto-renewal for one inbox

POST
/api/v1/inboxes/{id}/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

Path Parameters

id*string

Owned resource UUID.

Request Body

application/json
  1. body
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/string/renewal" \  -H "Content-Type: application/json" \  -d '{    "enabled": true,    "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",    "consent": true  }'
{  "data": {},  "requestId": "string"}