# Accept an organization invitation **POST /organizations/invitations/{invitation_token}/_accept** Accepts an organization invitation. Currently unavailable in self-hosted ECE. ## Servers - https://api.elastic-cloud.com/api/v1: https://api.elastic-cloud.com/api/v1 () ## Parameters ### Path parameters - **invitation_token** (string) Organization invitation token ## Responses ### 200 Organization invitation accepted successfully #### Body: application/json (object) object ### 400 User already belongs to organization. (code: `organization.user_organization_already_belongs`) #### Headers - **x-cloud-error-codes** (string) The error codes associated with the response #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request ### 403 The current user authentication is not valid. (code: `root.invalid_authentication`) #### Headers - **x-cloud-error-codes** (string) The error codes associated with the response #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request ### 404 * Organization not found. (code: `organization.not_found`) * User not found. (code: `user.not_found`) * Invitation not found. (code: `organization.invitation_not_found`) #### Headers - **x-cloud-error-codes** (string) The error codes associated with the response #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request [Powered by Bump.sh](https://bump.sh)