# Accept an organization invitation **POST /organization/{orgId}/invitation/accept** Accepts an invitation using the emailed token and email and returns the organization details. When the invitee has no account yet, `name` and `password` are required (400 otherwise), the account is created and signed in, and `login` holds its tokens and profile; for an existing user `login` is null. No auth, but the organization needs an active plan (403). Returns 404 for an unknown organization or invitation, and 400 when the token has expired or the invitation is no longer pending. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **orgId** (string) Id of the organization ### Body: application/json (object) Accept invitation body - **token** (string) - **email** (string) - **name** (string) - **password** (string) ## Responses ### 201 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)