Create authorization invitation

Development contract: availability requires the invitation feature release. API-key-derived JWT only; other OAuth bearers are rejected. Machine visibility is limited to the initiating M2M client. Creates a seven-day capability URL for downstream Amazon consent. Distribute it yourself; no email is sent. An eligible idempotent replay returns 200; changed bodies conflict. Terminal replay returns status without a URL. Creation does not grant provider token access. Maximum 20 requests/minute per organization/actor and 100 outstanding invitations. Requires every scope: `authorization-invitations:write`.

Authentication

AuthorizationBearer

JWT returned by POST /api/auth/token-exchange. Amazon and authorization invitations require API-key-derived tokens.

Headers

Idempotency-KeystringRequired1-200 characters

Trimmed nonempty request key; reuse only with the identical body.

Request

This endpoint expects an object.
amazon_adsobjectRequired
OR
amazon_sp_apiobjectRequired

Response

Idempotent replay. Terminal replay omits authorizationUrl.
idstring
providerenum
originenum
externalCustomerReferencestring or null
optionsobject
statusenum
authorizationIdinteger or null
createdAtdatetime
expiresAtdatetime
completedAtdatetime or null
providerMetadataobjectOptional
authorizationUrlstringOptionalformat: "uri"

Secret capability URL, supplied only on eligible create/replay responses. Expires after seven days.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error
503
Service Unavailable Error