Skip to main content
POST
/
accounts
/
workspace
/
invite
/
Invite to workspace
curl --request POST \
  --url https://api.futureagi.com/accounts/workspace/invite/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "role": "admin"
}'

Authorizations

Authorization
string
header
required

JWT token obtained from /accounts/token/ endpoint

Body

application/json
email
string<email>
required
workspaceId
string<uuid>
required
role
enum<string>
required
Available options:
admin,
member,
viewer

Response

200

Invitation sent