Skip to content

Endpoints Overview

All endpoints are under the base URL https://admin.trakk.ai/api/v1 and require a Bearer token.

MethodPathCachedPaginatedDescription
GET/meNoNoVerify token and retrieve client identity
GET/projectsYesYesList all projects accessible to your token
GET/projects/{project}YesNoDetailed metadata for a single project
GET/projects/{project}/reportsYesNoAll reports for a project, newest first
GET/projects/{project}/reports/latestYesNoCurrent-month completed report, or next non-completed if none
GET/projects/{project}/reports/last-generatedYesNoMost recent completed report (always safe to publish)
GET/projects/{project}/reports/{report_number}/contentYesNoFull generated content for a report
GET/projects/{project}/keywordsYesNoKeywords for a project with content status
GET/countriesNoNoList all countries
GET/countries/{country}NoNoSingle country
GET/languagesNoNoList all languages
GET/languages/{language}NoNoSingle language
GET/usersNoNoList users visible to your token
GET/users/{user}NoNoSingle user

Common patterns

Path parameters

All {project}, {country}, {language}, and {user} parameters are integer IDs. {report_number} is an integer in the range 1-26 representing the report's position in the project's delivery sequence.

Embedded user objects

Several endpoints embed user objects (in fields like managing_user, approved_by, managed_by). They all share the same compact shape:

json
{ "id": 7, "name": "Jane Smith", "role": "Account Manager", "agency": { "id": 12, "name": "Digipartner Agency" } }

agency is null when the user has no associated agency.

Agency field shape

The top-level agency field on a project (e.g. "agency": "Digipartner Agency") is a plain string containing only the agency name. This differs from the agency field inside embedded user objects, which is an object { "id": ..., "name": ... }.