Menu QaldyDocs

guests

6 routes, from the API’s own OpenAPI document.

6 routes. Every path starts at https://cloud-api.qaldy.com. Sign-in, tokens, errors and limits are on the overview.

Routes

MethodPathWhat it does
GET/​v1/​apps/​{id}/​guestsAn app's guests, and whether the workspace lets anyone invite one
POST/​v1/​apps/​{id}/​guestsInvite people outside the workspace to open this one app
DELETE/​v1/​apps/​{id}/​guests/​{guestId}End a guest’s access now; for a guest whose access is over, forget them
POST/​v1/​apps/​{id}/​guests/​{guestId}/​resendA fresh link for a guest whose access still runs (the old link stops working)
GET/​v1/​workspaces/​{ws}/​guestsEvery guest of the workspace and whether guests are on (admins)
PUT/​v1/​workspaces/​{ws}/​guests/​policyTurn guests on or off for the workspace (admins). Off ends every open guest.

Reference

GET /v1/apps/{id}/guests

An app's guests, and whether the workspace lets anyone invite one.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: can_share (owner, admins); not for tokens
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
enabledbooleanyes
offReason"profile" · "policy" · null or nullyes
canTurnOnbooleanyes
canInvitebooleanyes
openintegeryesat least 0
limitintegeryesat least 1
itemsobject[]yes
items[].idstringyesat least 1 characters
items[].appIdstringyesat least 1 characters
items[].appNamestringyes
items[].emailstringyesat least 3 characters
items[].role"viewer" · "runner"yes
items[].status"invited" · "active" · "expired" · "revoked"yes
items[].invitedBystringyes
items[].createdAtstring (date-time)yes
items[].expiresAtstring (date-time)yes
items[].lastOpenedAtstring (date-time) or nullyes
items[].opensintegeryesat least 0
items[].revokedAtstring (date-time) or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

POST /v1/apps/{id}/guests

Invite people outside the workspace to open this one app.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: can_share
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
emailsstring[]yesup to 10 items
role"viewer" · "runner"default "viewer"
daysinteger1 to 30. default 7
deliver"email" · "link"default "email"
locale"en" · "ru" · "kk"

Response 200

FieldTypeRequiredNotes
itemsobject[]yes
items[].idstringyesat least 1 characters
items[].appIdstringyesat least 1 characters
items[].appNamestringyes
items[].emailstringyesat least 3 characters
items[].role"viewer" · "runner"yes
items[].status"invited" · "active" · "expired" · "revoked"yes
items[].invitedBystringyes
items[].createdAtstring (date-time)yes
items[].expiresAtstring (date-time)yes
items[].lastOpenedAtstring (date-time) or nullyes
items[].opensintegeryesat least 0
items[].revokedAtstring (date-time) or nullyes
linksobject[]yes
links[].guestIdstringyesat least 1 characters
links[].emailstringyes
links[].linkstring (uri)yes
delivery"email" · "dev-log" · null or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

DELETE /v1/apps/{id}/guests/{guestId}

End a guest’s access now; for a guest whose access is over, forget them.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: can_share
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters
guestIdpathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
removedbooleanyes
guestobject or nullyes
guest.idstringyesat least 1 characters
guest.appIdstringyesat least 1 characters
guest.appNamestringyes
guest.emailstringyesat least 3 characters
guest.role"viewer" · "runner"yes
guest.status"invited" · "active" · "expired" · "revoked"yes
guest.invitedBystringyes
guest.createdAtstring (date-time)yes
guest.expiresAtstring (date-time)yes
guest.lastOpenedAtstring (date-time) or nullyes
guest.opensintegeryesat least 0
guest.revokedAtstring (date-time) or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

POST /v1/apps/{id}/guests/{guestId}/resend

A fresh link for a guest whose access still runs (the old link stops working).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: can_share
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters
guestIdpathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
deliver"email" · "link"default "email"
locale"en" · "ru" · "kk"

Response 200

FieldTypeRequiredNotes
itemsobject[]yes
items[].idstringyesat least 1 characters
items[].appIdstringyesat least 1 characters
items[].appNamestringyes
items[].emailstringyesat least 3 characters
items[].role"viewer" · "runner"yes
items[].status"invited" · "active" · "expired" · "revoked"yes
items[].invitedBystringyes
items[].createdAtstring (date-time)yes
items[].expiresAtstring (date-time)yes
items[].lastOpenedAtstring (date-time) or nullyes
items[].opensintegeryesat least 0
items[].revokedAtstring (date-time) or nullyes
linksobject[]yes
links[].guestIdstringyesat least 1 characters
links[].emailstringyes
links[].linkstring (uri)yes
delivery"email" · "dev-log" · null or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

GET /v1/workspaces/{ws}/guests

Every guest of the workspace and whether guests are on (admins).

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
enabledbooleanyes
offReason"profile" · "policy" · null or nullyes
canTurnOnbooleanyes
canInvitebooleanyes
openintegeryesat least 0
limitintegeryesat least 1
itemsobject[]yes
items[].idstringyesat least 1 characters
items[].appIdstringyesat least 1 characters
items[].appNamestringyes
items[].emailstringyesat least 3 characters
items[].role"viewer" · "runner"yes
items[].status"invited" · "active" · "expired" · "revoked"yes
items[].invitedBystringyes
items[].createdAtstring (date-time)yes
items[].expiresAtstring (date-time)yes
items[].lastOpenedAtstring (date-time) or nullyes
items[].opensintegeryesat least 0
items[].revokedAtstring (date-time) or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

PUT /v1/workspaces/{ws}/guests/policy

Turn guests on or off for the workspace (admins). Off ends every open guest..

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: admin
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
allowedbooleanyes

Response 200

FieldTypeRequiredNotes
enabledbooleanyes
offReason"profile" · "policy" · null or nullyes
canTurnOnbooleanyes
canInvitebooleanyes
openintegeryesat least 0
limitintegeryesat least 1
itemsobject[]yes
items[].idstringyesat least 1 characters
items[].appIdstringyesat least 1 characters
items[].appNamestringyes
items[].emailstringyesat least 3 characters
items[].role"viewer" · "runner"yes
items[].status"invited" · "active" · "expired" · "revoked"yes
items[].invitedBystringyes
items[].createdAtstring (date-time)yes
items[].expiresAtstring (date-time)yes
items[].lastOpenedAtstring (date-time) or nullyes
items[].opensintegeryesat least 0
items[].revokedAtstring (date-time) or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

Type to search. Up and down to choose, Enter to open, Esc to close.