Invite a guest to a project
Emails an invitation to join the organization as a guest on this project alone; it expires after 48 hours, and is for the address's account in its home region. 409 when the address is already a member of the organization or has an invitation pending; 422 when the profile is archived or not the organization's; 503, with nothing sent, while a region does not answer, and 409 when more than one region claims the address.
Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.
sessiongamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
projectId*stringThe project's id.
application/json- body
email*stringprofileId?stringThe profile they get on the project once they accept. Absent: the member default.
1 <= lengthCreated.
application/json- response
invitation*curl -X POST 'http://localhost:3000/api/projects/string/invitations' \ -H 'Content-Type: application/json' \ -d '{ "email": "string"}'{ "invitation": { "id": "string", "email": "string", "status": "string", "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "inviterName": "string" }}