Skip to main content
POST
/
spaces
/
{spaceId}
/
invite
Invite User to Space
curl --request POST \
  --url https://ragapi.sno.ai/v1/spaces/{spaceId}/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "accessType": "read"
}
'
{
  "success": true
}
Invites a user (by email) to a specific space with a given access type (read or edit). This endpoint has a rate limit of 5 requests per minute.

Authorizations

Authorization
string
header
required

Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'

Path Parameters

spaceId
string<uuid>
required

Body

application/json
email
string<email>
required
accessType
enum<string>
required
Available options:
read,
edit

Response

Invitation sent successfully

success
boolean