AgenciesList agencies
Agencies

List agencies

Retrieve a paginated list of agencies with optional filtering.

curl -X GET "https://api.mythic-analytics.com/api/v1/agencies?search=example_string&limit=42&offset=42" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": [
    {
      "id": "agc_7kH3nPqR",
      "name": "Digital Growth Partners",
      "email": "admin@dgp-agency.com",
      "phone": "+1-555-0123",
      "website": "example_string",
      "metadata": {},
      "client_count": 15,
      "created_at": "2024-02-10T14:00:00.000Z",
      "updated_at": "2024-06-01T09:15:00.000Z"
    }
  ],
  "count": 8
}
GET
/agencies
GET
Security Scheme
Bearer Tokenstring
Required

Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY

Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY
query
limitinteger

Maximum results per page. Default 50, max 500.

Max: 500
query
offsetinteger

Number of results to skip. Default 0.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY

Query Parameters

limitinteger

Maximum results per page. Default 50, max 500.

offsetinteger

Number of results to skip. Default 0.

Responses

successboolean
dataarray
countinteger