Cinema Studio

Decline an invitation

Turn an email invitation down: it opens nothing again. A link is nobody's to decline, and stays for whoever else it was passed to. Takes a key holding studio:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

POST
/v1/studio/invites/decline
POST
/v1/studio/invites/decline
Decline an invitation
Turn an email invitation down: it opens nothing again.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
Decline an invitation
curl --request POST \
  --url 'https://api.auray.ai/v1/studio/invites/decline' \
  --header 'Authorization: Bearer <api-key>'
  --header 'Content-Type: application/json' \
  --data '{
  
}'
{
  "object": "<string>",
  "declined": true,
  "request_id": "<string>"
}
Decline an invitation
curl -X POST https://api.auray.ai/v1/studio/invites/decline \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "token": "…"
}'
{
  "object": "<string>",
  "declined": true,
  "request_id": "<string>"
}

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — a key with the scope the route names.

Body

application/json
tokenstringrequired
The token the invitation's link carries in its fragment (#studio-invite=<token>).

Response

application/json

OK.

objectstringrequired
One of "invite".
declinedbooleanrequired
One of true.
request_idstring
Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

Was this page helpful?

Decline an invitation
curl -X POST https://api.auray.ai/v1/studio/invites/decline \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "token": "…"
}'
{
  "object": "<string>",
  "declined": true,
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.