Skip to main content

Welcome to the Targeter API

The Targeter REST API is the partner-facing HTTP API for Targeter: obtain a JWT and create or resolve campaigns from external systems. As an approved partner with issued API credentials, you can integrate on behalf of your clients. Current REST API version: 1.2.0.

Base URL

All API requests are made to the base URL provided with your credentials:
Some clients use a tenant-specific host (e.g. https://{client_slug}.targeter.tech/api). Use the base URL you received from Targeter.

Partner Authentication

The Targeter API uses JWT (JSON Web Token) authentication for trusted third-party partners. Protected routes expect Authorization: Bearer <token> (obtain the token from POST /auth/token). Here’s how it works:
  1. Receive Issued Credentials: Get your API key and plain-text secret issued by the Targeter team for your approved partnership
  2. Exchange for Token: Use your issued credentials to get a JWT from /auth/token (tokens expire after one hour)
  3. Include in Requests: Add the token to the Authorization header for protected routes

Example Partner Authentication Flow

Rate Limits

Not yet implemented.

Error Handling

The API uses standard HTTP status codes and returns detailed error information:
Validation errors on authentication may include a details array: