Skip to main content
API · Organization POST /api/v1/organization-invitations:accept Redeems the newest unexpired pending invitation whose address matches the signed-in account’s directory-asserted user principal name or email, creating or reactivating that account’s membership with the invited role. The directory itself was verified when the Organization was activated; no invitation token is exchanged. An already active member receives its membership back with 200. Requires a delegated GV.Access token for a work or school account in the signed-in Microsoft Entra directory; no Organization role is required. Operation ID · accept_organization_invitation

Request example

Authentication and access

  • Required role: GV.Access
  • Data classification: metadata
  • Side effects: configurationWrite
Use an authentication scheme declared below. Ordinary workloads use application tokens; signed-in users use delegated tokens and Organization membership. Activation and invitation acceptance require a person, and execution callbacks require their registered identity.
  • Microsoft Entra delegated user token

Responses

This guide summarizes response status codes and headers. Retrieve the deployed, authenticated OpenAPI document for the exact response body schemas and examples. The API also provides an authenticated Swagger UI; opening it in a browser does not automatically attach a bearer token. Error responses use application/problem+json. The response’s stable code and type map to the error-code reference.

200

The caller is already an active member.

Headers

  • ETag: string
  • Location: string

201

Membership created or reactivated from the invitation.

Headers

  • ETag: string
  • Location: string

401

A valid Microsoft Entra bearer token is required.

403

The authenticated principal does not have the required role.

404

The resource does not exist in this tenant.

429

The bounded application request rate was exceeded.

Headers

  • Retry-After: Seconds to wait before retrying. integerminimum: 1

503

A required dependency is temporarily unavailable.

Headers

  • Retry-After: Seconds to wait before retrying. integerminimum: 1