Publishers
One publisher
Needs the publishers:read scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>id*stringFormat
uuidSuccess
application/json- response
id*stringFormat
uuidexternalId*string|nullcode*stringname*stringkind*stringstatus*stringcompanyName*string|nullcontactName*string|nullcontactEmail*string|nullcontactPhone*string|nullmodules*payout*version*stringcreatedAt*stringupdatedAt*stringcurl 'https://api.traki.io/v1/account/publishers/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "code": "string", "name": "string", "kind": "string", "status": "string", "companyName": "string", "contactName": "string", "contactEmail": "string", "contactPhone": "string", "modules": { "calls": true, "leads": true }, "payout": { "method": "string", "termsDays": -9007199254740991, "minimum": "string" }, "version": "string", "createdAt": "string", "updatedAt": "string"}Create a publisher POST
Creates a publisher (a sub-publisher sending traffic under the account). Creation is silent: TRAKI sends no email and no portal invitation unless `invite` is given. `externalId` must be unique in the account (409 external_id_taken).
Change a publisher PATCH
Changes the fields sent and leaves the rest: name, contact, modules, payout terms and the account’s own `externalId`. With `ifVersion`, a change based on an older version is refused.