API reference

Members

People in a workspace, their roles, and invitations.

People in a workspace, their roles, and invitations.

Method Endpoint Summary
GET /v1/workspaces/{ws}/members List members and pending invitations
POST /v1/workspaces/{ws}/members Invite by email
PATCH /v1/workspaces/{ws}/members/{membership} Change a member role
DELETE /v1/workspaces/{ws}/members/{membership} Remove a member

List members and pending invitations#

GET/v1/workspaces/{ws}/members

Auth: API key (Authorization: Bearer obx_live_…). Requires scope posts:read with workspace role owner / admin / editor / contributor / viewer / agent.

Path parameters

Name Required Description
ws yes Workspace id (ws_…) or slug

Response 200 — List. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X GET "https://api.outboxer.dev/v1/workspaces/acme/members" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY"

Invite by email#

POST/v1/workspaces/{ws}/members

Role per workspace; additional_workspaces invites to several at once. Existing users are added directly.

Auth: API key (Authorization: Bearer obx_live_…). Requires scope workspace:admin with workspace role owner / admin.

Path parameters

Name Required Description
ws yes Workspace id (ws_…) or slug

Headers

Name Required Description
Idempotency-Key no Replays within 24 h return the original response.

Request body

Field Type Description
email string
role string
additional_workspaces array

Response 200 — Object. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X POST "https://api.outboxer.dev/v1/workspaces/acme/members" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "[email protected]",
  "role": "example",
  "additional_workspaces": []
}'

Change a member role#

PATCH/v1/workspaces/{ws}/members/{membership}

Auth: API key (Authorization: Bearer obx_live_…). Requires scope workspace:admin with workspace role owner / admin.

Path parameters

Name Required Description
ws yes Workspace id (ws_…) or slug
membership yes Membership id.

Request body

Field Type Description
role string

Response 200 — Object. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X PATCH "https://api.outboxer.dev/v1/workspaces/acme/members/mem_01j9zq3k8m5v2b7x4c6n1p0r9s" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "role": "example"
}'

Remove a member#

DELETE/v1/workspaces/{ws}/members/{membership}

Auth: API key (Authorization: Bearer obx_live_…). Requires scope workspace:admin with workspace role owner / admin.

Path parameters

Name Required Description
ws yes Workspace id (ws_…) or slug
membership yes Membership id.

Response 200 — Object. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X DELETE "https://api.outboxer.dev/v1/workspaces/acme/members/mem_01j9zq3k8m5v2b7x4c6n1p0r9s" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY"