Invite a user to join an organization
Changed onCreates an invitation and sends an email to the specified address. Returns FAILED_PRECONDITION if the email belongs to an existing organization member. Idempotency: If a PENDING invitation already exists for this email, the existing invitation is resent with a new token and refreshed expiration. Expired or revoked invitations are ignored - a new invitation is created.
Request
- Base URLhttps://api.factify.com
- AuthHTTP bearer
Path parameters
Organization to invite the user to. Pattern: org_[0-9a-hjkmnp-tv-z]{26}
Request body
Response
Success
Example response
{
"invite": {
"accepted_by": {
"id": "user_01h2xcejqtf2nbrexx3vqjhp41"
},
"email": "dwight@dundermifflin.com",
"id": "inv_01h2xcejqtf2nbrexx3vqjhp41",
"organization_id": "org_01h2xcejqtf2nbrexx3vqjhp41",
"sender": {
"id": "user_01h2xcejqtf2nbrexx3vqjhp41"
}
}
}Changes
- info
api tag
Invitesadded - info
api tag
Organizationsremoved - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
the request property
became not nullable - breaking
the request property
became not nullable
- breaking