Home / Developers / API reference / owner-invitations
owner-invitations
Accept owner invitation
POST /v1/owner-invitations/accept
Grants ownership for a valid signed invitation whose application domain carries the TXT challenge. Public route: the signed invitation token in the body is the credential; any token problem is one generic error. Optional Authorization: Bearer admin-realm access token (ADR-010 "Owner binding by engine subject"): when present it must be a freshly authenticated (step-up) human application_owner account of exactly this application environment (401 / 403 otherwise, never ignored), and its engine subject is recorded on the new owner record (engine_subjects). A transfer to the same contact carries the previous record's subjects over. Without a sign-in no account is bound and a security admin binds one (POST …/ownership/subjects).
- Operation ID
acceptOwnerInvitation- Authentication
- Optional: bearerAuth
Parameters
No parameters.
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
token | string | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
application_id | any | optional | |
environment | any | optional | |
owner | object | optional | |
owner.owner_id | string (uuid) | optional | |
owner.contact_email | string | optional | |
owner.contact_name | string | optional | |
owner.verified_domain | string | optional | |
owner.invitation_id | string (uuid) | optional | |
owner.state | string | optional | |
owner.granted_at | string (date-time) | optional | |
owner.ended_at | string | null (date-time) | optional | |
owner.engine_subjects | array of string | null | optional | Admin-realm accounts bound to the owner record; null for a legacy record. |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |