Your requests to join
const url = 'https://api.sloose.com/auth/access-requests?zohoOrgId=7000000001';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.sloose.com/auth/access-requests?zohoOrgId=7000000001' \ --header 'Authorization: Bearer <token>'What the person asked of the orgs holding this CRM, newest first — open, or approved while the invitation waits — and whether they have joined since. A request is to an org, so one made from another CRM that org also holds is here too, once this session’s Zoho sign-in has proved THIS CRM (the frame route’s test); before that, only the requests made from this CRM. A CRM tab polls this while somebody waits in it, and asks the frame route again once joined is true.
Without zohoOrgId, every request the person made, from any CRM — the page for a person in no org lists them (#674). Each names an org the person was told of when they asked.
Session only, and limited (429 RATE_LIMITED).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The CRM the tab is in: its zgid. Left out, every request the person made, from any CRM.
Example
7000000001The CRM the tab is in: its zgid. Left out, every request the person made, from any CRM.
Responses
Section titled “Responses”Your requests.
object
object
The org asked, as somebody outside it is shown its name: “a team” when the name could be read as Sloose, as an invitation does.
open until an administrator approves it, or it lapses (7 days); approved once the invitation is on its way.
Whether the person is a member of the org now — the invitation accepted — which is what a tab waiting on the request is waiting for.
Example
{ "requests": [ { "status": "open" } ]}The request — its body or its query — did not match the schema. issues carries the Zod issue list.
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}No bearer, or one that is expired, revoked or no longer resolves to a member.
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}An API token was used (code: SESSION_REQUIRED), or a staff member’s view of an org asked with no zohoOrgId (code: STAFF_VIEW): every request the person made is theirs, not the org’s the view was opened on.
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}Too many requests (code: RATE_LIMITED, with retryAfterSeconds).
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}