Create an invite
Invite a user to the workspace by email. If the user already has an Ordinal account, they will be added to the workspace immediately. Otherwise, an invite email will be sent.
POST
/invitesAuthorization
AuthorizationBearer token · headerrequiredAPI key authentication. Generate an API key from your workspace settings.
Request body
requiredapplication/jsonemailstring<email>requiredThe email address of the user to invite
Responses
200
Invite created or user added to workspace
inviteobject | nullThe created invite, or null if the user was added directly to the workspace
Show propertiesHide properties
idstring<uuid>The unique identifier of the invite
emailstring<email>The email address of the invited user
createdAtstring<date-time>When the invite was created
sentEmailbooleanWhether an invite email was sent
400
Bad Request - Invalid input parameters
codestringmessagestringdataobjectShow propertiesHide properties
errorsobject401
Unauthorized - Missing or invalid API key
codestringmessagestring403
Forbidden - Insufficient permissions
codestringmessagestring409
Conflict - Resource already exists
codestringmessagestring