An invitation for you, open or already accepted
GET
/invitations/{invitation_id}
const url = 'https://api.global.stillbox.example/v1/invitations/oinv-7k2m9q4x8w3z5r6t';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.global.stillbox.example/v1/invitations/oinv-7k2m9q4x8w3z5r6t \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”invitation_id
required
string
Responses
Section titled “Responses”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
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"}