For the complete documentation index, see llms.txt. This page is also available as Markdown.

Competitors

List Competitors

post

Competitors are the companies that are competing with the brand. They are used to track the performance of the brand against its competitors.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
brand_kit_idintegerRequired

The Brand Kit ID

Body
brand_kit_idintegerRequired

The ID of the Brand Kit

sortstring · enumOptional

Sort field. Prefix with - for descending.

Available sort fields:

  • name/-name: Sort alphabetically by competitor name
  • created_at/-created_at: Sort by creation date
Possible values:
pageintegerOptional

Page number

Default: 1
per_pageinteger · max: 100Optional

Items per page

Default: 25
Responses
200

Successful response

application/json
post/public_api/brand_kits/{brand_kit_id}/competitors/list
POST /public_api/brand_kits/{brand_kit_id}/competitors/list HTTP/1.1
Host: api.airops.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 133

{
  "brand_kit_id": 1,
  "filters": [
    {
      "field": "name",
      "operator": "EQUALS",
      "value": null
    }
  ],
  "fields": [
    "id"
  ],
  "sort": "name",
  "page": 1,
  "per_page": 25
}
{
  "data": [
    {
      "id": 1,
      "aeo_domain_id": 1,
      "name": "text",
      "domain_url": "text",
      "created_at": "text"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}

Get Competitor

get

Competitors are the companies that are competing with the brand. They are used to track the performance of the brand against its competitors.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
brand_kit_idintegerRequired

The Brand Kit ID

idintegerRequired

The resource ID

Responses
200

Successful response

application/json
get/public_api/brand_kits/{brand_kit_id}/competitors/{id}
GET /public_api/brand_kits/{brand_kit_id}/competitors/{id} HTTP/1.1
Host: api.airops.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": {
    "id": 1,
    "aeo_domain_id": 1,
    "name": "text",
    "domain_url": "text",
    "created_at": "text"
  }
}

Last updated

Was this helpful?