The organization's policies (member)
const url = 'https://api.vexarn.dev/api/org/policies';const options = { method: 'GET', headers: {cookie: '__Host-vexarn.session_token=<__Host-vexarn.session_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.vexarn.dev/api/org/policies \ --cookie __Host-vexarn.session_token=<__Host-vexarn.session_token>Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The policies
object
Whether members may have contacts outside the organization. Off: they cannot send or accept contact requests or invite links outside it, are not found by username from outside, and messages with existing outside contacts are held.
user: each person decides; always / never: the organization decides for everyone.
user: each person decides; always / never: the organization decides for everyone.
Kept copies of messages are deleted this many days after they were kept; null: no limit.
MCP clients members may connect, by client id (the URL of a client metadata document); null: any client; empty: none.
Example
{ "keepReceived": "user", "keepSent": "user", "mcpClients": [ "https://claude.ai/oauth/claude-code-client-metadata" ]}No session
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Your role is below member (forbidden, recorded in the security log), or a change came from another origin than the web app (forbidden_origin)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}A personal account (not_in_organization)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Too many requests from this user or client address
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Headers
Section titled “Headers”Seconds until the rate limit window resets