Skip to main content
POST
/
api
/
workspace
/
{workspaceId}
/
members
/
invite
Invite a new member
curl --request POST \
  --url https://app.alana.shopping/api/workspace/{workspaceId}/members/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "role": "owner"
}
'
{
  "invitation_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication via Auth0. Users authenticate through Auth0 Universal Login. Include the access token in the Authorization header: Authorization: Bearer <token>

Path Parameters

workspaceId
string
required

The workspace ID

Pattern: ^ws_[a-z0-9]+$

Body

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

Response

Invitation sent

invitation_id
string
Last modified on April 13, 2026