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 · enumOptionalPossible values:
Sort field. Prefix with - for descending.
Available sort fields:
- name/-name: Sort alphabetically by competitor name
- created_at/-created_at: Sort by creation date
pageintegerOptionalDefault:
Page number
1per_pageinteger · max: 100OptionalDefault:
Items per page
25Responses
200
Successful response
application/json
400
Bad request - invalid parameters, filters, or sort options
401
Unauthorized - invalid or missing authentication token
404
Not found - resource does not exist
412
Precondition failed - AEO not configured for this brand kit
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
}
}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
400
Bad request - invalid parameters, filters, or sort options
401
Unauthorized - invalid or missing authentication token
404
Not found - resource does not exist
412
Precondition failed - AEO not configured for this brand kit
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?