POST
/
space
/
{spaceId}
/
invitation
/
email
curl --request POST \
  --url https://app.teable.io/api/space/%7BspaceId%7D/invitation/email \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"emails":["user@example.com"],"role":"owner"}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

spaceId
string
required

Body

application/json
emails
string[]
required
role
enum<string>
required
Available options:
owner,
creator,
editor,
commenter,
viewer

Response

201 - application/json
Successful response, return invitation information.
{key}
object