Skip to content

An invitation for you, open or already accepted

GET
/invitations/{invitation_id}
curl --request GET \
--url https://api.global.stillbox.example/v1/invitations/oinv-7k2m9q4x8w3z5r6t \
--header 'Authorization: Bearer <token>'
invitation_id
required
string

Who invited you, and to which organization

Media typeapplication/json
object
id
required
string
email
required
string
role
required

Owners invite and remove people and manage the organization; members use its sandboxes; auditors read the audit log and see everything else without changing anything, opening terminals or reading files.

string
Allowed values: owner member auditor
org_id
required
string
org_name
required
string
invited_by_name
required
string
url
required

The console page where the invited person answers. It only works for them, signed in.

string
accepted

The invited person has already joined.

boolean
emailed

In the answer to an invitation just sent, whether it was emailed; the region may have no mail sender.

boolean
created_at
required
string format: date-time
expires_at
required
string format: date-time

Example

{
"role": "owner"
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

No such sandbox in your organization (or no such file)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}