POST
/
api
/
invitation
curl --request POST \
  --url https://api.trieve.ai/api/invitation \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TR-Organization: <tr-organization>' \
  --data '{
  "app_url": "<string>",
  "email": "<string>",
  "redirect_uri": "<string>",
  "scopes": [
    "<string>"
  ],
  "user_role": 123
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Headers

TR-Organization
string
required

The organization id to use for the request

Body

application/json
JSON request payload to send an invitation

The body is of type object.

Response

204

Ok response. Indicates that invitation email was sent correctly.