Publishers

Get a publisher

Retrieve a single publisher, including its configured query selectors.

GET/api/publishers/:id

Path parameters

  • Name
    id
    Type
    string
    Required
    required
    Description

    The unique identifier of the publisher. Look it up with List publishers.

Headers

  • Name
    Authorization
    Type
    string
    Required
    required
    Description

    Bearer [YOUR_API_TOKEN], using an API token generated from your Koah dashboard under Settings › API Tokens.

Response

The same fields as Create a publisher, plus:

  • Name
    query_selectors
    Type
    object[]
    Description

    The CSS selectors configured for this publisher.

  • Name
    query_selectors[].value
    Type
    string
    Description

    The CSS selector string.

  • Name
    query_selectors[].ad_type
    Type
    string
    Description

    The ad type associated with this selector, e.g. suffix.

Errors

StatusError
401Unauthorized — missing or invalid API token
403Forbidden — not a publisher team account
404Not found — publisher does not exist
429Rate limit exceeded — max 10 requests per minute
curl https://app.koah.ai/api/publishers/string-unique-identifier \
  -H "Authorization: Bearer [YOUR_API_TOKEN]"

Response

{
  "id": "string-unique-identifier",
  "name": "My Publisher",
  "reference_id": "pub-001",
  "created_at": "2026-03-01T12:00:00Z",
  "query_selectors": [
    {
      "value": ".search-input",
      "ad_type": "suffix"
    }
  ]
}
Was this helpful?