Skip to main content

Get all companies

Request example
curl -X GET https://betaapi.audiohook.com/v2/companies/ \
  -H "Authorization: Bearer ${API_TOKEN}" \
  -H "Content-Type: application/json" \
  -H "ui-referer: ADVERTISER" \
  -d '{
    "request_headers": [
      { "name": "X-Request-Header", "value": "Header value" }
    ]
  }'
Response sample
200 OK
{
  "Advertisers": [
    {
      "uuid": "test-advertiser-uuid",
      "name": "Test advertiser name",
      "logo_url": "https://audiohook-assets.s3.us-east-1.amazonaws.com/test-advertiser-uuid/logo.jpeg",
      "url": "https://testwebsite.com",
      "status": true,
      "reporting_requested": false,
      "glean_url": null,
      "onboarded": true
    },
    {
      "uuid": "test-advertiser-uuid2",
      "name": "Test advertiser name 2",
      "logo_url": "https://audiohook-assets.s3.us-east-1.amazonaws.com/test-advertiser-uuid2/logo.jpeg",
      "url": "https://www.testwebsite2.com/",
      "status": true,
      "reporting_requested": false,
      "glean_url": null,
      "onboarded": true
    }
  ]
}
Get all companies under the current user/agency

HTTP Request

GET /v2/companies