Agency
Returns the agency this API key belongs to.
Bearer token for authentication
The workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Validation Error
GET /agency HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"name": "text",
"workspace": "text",
"website": "text",
"created_at": "2026-01-01T00:00:00.000Z"
}Returns every client in the agency. accessible tells you if X-Untitled-Client can select it.
Bearer token for authentication
Include deleted clients
falseThe workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Validation Error
GET /agency/clients HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"workspace": "text",
"name": "text",
"status": "text",
"accessible": true,
"read_only": true,
"created_at": "2026-01-01T00:00:00.000Z",
"deleted_at": "2026-01-01T00:00:00.000Z",
"website": "text",
"use_case": "text"
}
]Returns the tags of every client in the agency.
Bearer token for authentication
Include deleted clients
falseInclude deleted tags
falseThe workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Validation Error
GET /agency/clients/tags HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"agency": "text",
"client": "text",
"tags": [
{
"id": "text",
"tag_id": "text",
"name": "text",
"description": "text",
"url": "text",
"status": "text",
"mtd_resolutions": 1,
"created_at": "text",
"created_by": "text",
"updated_at": "text",
"updated_by": "text",
"monthly_budget": 1,
"last_tracked_activity": "text"
}
]
}
]Returns daily visitor and session totals per client and tag.
Bearer token for authentication
Start date (YYYY-MM-DD). Defaults to 30 days ago
End date (YYYY-MM-DD). Defaults to today
Include deleted clients
falseThe workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Validation Error
GET /agency/clients/resolutions/summary HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"agency_id": "text",
"client_id": "text",
"tag_id": "text",
"event_date": "2026-01-01",
"visitor_total": 1,
"session_total": 1,
"updated_at": "2026-01-01T00:00:00.000Z"
}
]Returns the number of destinations of each service, per client.
Bearer token for authentication
Include deleted clients
falseThe workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Validation Error
GET /agency/clients/activation/summary HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"agency": "text",
"client": "text",
"activation": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]Returns the number of sources of each service, per client.
Bearer token for authentication
Include deleted clients
falseThe workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Validation Error
GET /agency/clients/etl/summary HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"agency": "text",
"client": "text",
"etl": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]Last updated
Was this helpful?