Skip to main content
POST
/
apps
/
{app_id}
/
invites
Create App Invite
curl --request POST \
  --url https://api.ara.so/apps/{app_id}/invites \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "role": "viewer",
  "expires_in_hours": 168
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

app_id
string
required

Body

application/json
email
string
required
Required string length: 3 - 320
role
string
default:viewer
Pattern: ^(viewer|operator|editor)$
expires_in_hours
integer
default:168
Required range: 1 <= x <= 720

Response

Successful Response