Invite a standard member

​

Enterprise workspaces only. The invitation token is not returned. Success means the transaction was written to the email queue; it does not mean the email was delivered.

Required permission: members:invite. Authenticate with an OpenAPI Key bound to the target workspace using Authorization: Bearer <OpenAPI Key>.

Headers
  • Idempotency-Key
    Type: string
    min length:  
    1
    max length:  
    200
    required

    Use a unique request ID for each operation with the same machine Key. A duplicate with identical parameters reuses the original result; changed parameters return 409. Maximum 200 bytes.

Body·
required
application/json

Invites standard members only. Do not provide role, user_id, or workspace_id. The invitation email is queued in the same transaction.

  • email
    Type: string
    max length:  
    254
    Format: email
    required
  • name
    Type: string
    max length:  
    100

    UTF-8 encoded, up to 100 bytes.

Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/v1/members/invitations
curl https://openapi.apigo.ai/v1/members/invitations \
  --request POST \
  --header 'Idempotency-Key: request-REPLACE-WITH-UNIQUE-ID' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "email": "member@example.com",
  "name": "Example member"
}'
{
  "code": 0,
  "message": "string",
  "data": {
    "member": {
      "id": "string",
      "user_id": "string",
      "name": "string",
      "email": "string",
      "role": "owner",
      "status": "active",
      "month_spend_usd": 1,
      "joined_at": "2026-10-19T02:14:25.583Z",
      "last_active_at": "2026-10-19T02:14:25.583Z",
      "removed_at": "2026-10-19T02:14:25.583Z",
      "invite_status": "string",
      "invite_expires_at": "2026-10-19T02:14:25.583Z",
      "invite_last_sent_at": "2026-10-19T02:14:25.583Z",
      "invite_resend_count": 1,
      "is_workspace_creator": true,
      "role_locked": true
    },
    "email_queued": true
  }
}