Skip to main content
PATCH
Update traffic source

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.

Path Parameters

id
string
required

Body

application/json

Partial traffic source update. All fields are optional.

name
string

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

Required string length: 1 - 160
clickIdParam
string | null

Trimmed before saving. Null or blank clears the value.

Maximum string length: 120
costParam
string | null

Trimmed before saving. Null or blank clears the value.

Maximum string length: 120
postbackUrl
string | null

Public HTTP(S) postback URL template, trimmed before saving. Null or blank clears it. Supports {token1:hash} through {token15:hash} for short token codes.

Maximum string length: 2048
clickIdMacro
string | null

Trimmed before saving. Null or blank clears the value.

Maximum string length: 120
costMacro
string | null

Trimmed before saving. Null or blank clears the value.

Maximum string length: 120
templateId
string | null

Traffic source template ID.

Response

Updated

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