Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Upsert TikTok or Google Ads conversion sink

PUT/v1/ctwa/ad-sinks/{sink}
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Path parameters
sinkstringrequired
Request body
requiredapplication/json
access_tokenstring
configanyrequired
enabledbooleanrequired
test_mode_codestring
Responses
200OK
configanyrequired
created_atstring
enabledbooleanrequired
has_credentialsbooleanrequired
sinkstringrequired
test_mode_codestring
updated_atstring
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X PUT "/v1/ctwa/ad-sinks/string" \
  -H "Content-Type: application/json" \
  -d '{
  "access_token": "string",
  "config": "string",
  "enabled": true,
  "test_mode_code": "string"
}'
Response
{
  "config": "string",
  "created_at": "string",
  "enabled": true,
  "has_credentials": true,
  "sink": "string",
  "test_mode_code": "string",
  "updated_at": "string"
}