Skip to content
Ordinal
Esc
↑↓navigate↵open⌘Jpreview

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/invites
Authorization
AuthorizationBearer token · headerrequired

API key authentication. Generate an API key from your workspace settings.

Request body
requiredapplication/json
emailstring<email>required

The email address of the user to invite

Responses
200

Invite created or user added to workspace

inviteobject | null

The created invite, or null if the user was added directly to the workspace

Show 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

sentEmailboolean

Whether an invite email was sent

400

Bad Request - Invalid input parameters

codestring
messagestring
dataobject
Show properties
errorsobject
401

Unauthorized - Missing or invalid API key

codestring
messagestring
403

Forbidden - Insufficient permissions

codestring
messagestring
409

Conflict - Resource already exists

codestring
messagestring
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'https://app.tryordinal.com/api/v1/invites' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "newuser@example.com"
}'
Response
{
  "invite": {
    "id": "550e8400-e29b-41d4-a716-446655440500",
    "email": "newuser@example.com",
    "createdAt": "2026-01-15T10:00:00.000Z"
  },
  "sentEmail": true
}