Skip to content

Affiliate networks, active ones unless status says

GET
/v1/buyer/networks
curl --request GET \
--url 'https://example.com/v1/buyer/networks?sort=id' \
--header 'Authorization: Bearer <token>'

Who: a workspace’s member, staff under its support access, or its key. API keys with the buyer:read or buyer:write scope.

page_size
integer
>= 1

Rows a page, up to the list’s maximum; the service’s default when left out

page_token
string

The previous page’s meta.next_page_token

sort
string

Comma-separated fields, each with - for descending

status
string
q
string

OK

Media typeapplication/json
object
data
required
Array<object>
object
created_at
required
string format: date-time
currency
required
string
id
required
integer format: int64
import_key
required
string
name
required
string
pixel_enabled
required
boolean
sequence
required
integer format: int64
status
required
string | null
Allowed values: active archived
template_id
required
string
template_version
required
integer format: int32
updated_at
required
string format: date-time
workspace_id
required
integer format: int64
meta
required
object
next_page_token
required
string | null
total
required
integer | null format: int64
total_approximate
required
boolean

Example

{
"data": [
{
"status": "active"
}
]
}

An error, as go-commons apperr maps it

Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string

Example generated

{
"error": {
"code": "example",
"fields": {
"additionalProperty": "example"
},
"message": "example"
}
}