Skip to main content
GET
Get organizations information
Retrieves a list of all organizations that the authenticated user has access to.

Request

Method: GET
Endpoint: /api/get-orgs
Headers:
  • X-Authorization: Your API key (required)
Query Parameters:
  • uid (string, required): Your user ID

Response

Success Response (200):
Error Responses:
  • 400 Bad Request: Invalid request parameters
  • 401 Unauthorized: Invalid or missing API key
  • 500 Internal Server Error: Server error

Example

Authorizations

X-Authorization
string
header
required

Query Parameters

uid
string
required

User ID

Response

Successful response

uid
string

User ID

agentId
string

Agent ID

name
string

Agent name

country
string | null

Country code

businessPhoneNumber
string | null

Business phone number

Last modified on July 11, 2026