Skip to main content
POST
Create affiliate network

Authorizations

Authorization
string
header
required

Workspace-scoped token sent in the Authorization header as Bearer . Access depends on the credential's allowed operations, read or write scope, and workspace subscription. Use an API key issued in the tracker for Public API v1. MCP uses separate OAuth credentials.

Body

application/json
name
string
required

Trimmed before saving. Names are case-sensitive and unique among active affiliate networks in the workspace. Archived records do not reserve names.

Required string length: 1 - 160
clickIdEnabled
boolean
default:false
clickIdParam
string | null

Trimmed query parameter name using letters, digits, underscores, or hyphens, up to 40 characters after trimming. Null or blank clears it. Required when clickIdEnabled is true.

conversionPostbackTemplate
string | null

Saved callback template. Accepts a path beginning /event/ or an absolute http(s) URL, including network macros. Whitespace, quotes, angle brackets, backticks, and backslashes are rejected. Null or blank clears it.

Maximum string length: 2048

Response

Created id

ok
enum<boolean>
required
Available options:
true
data
object
required