Setting/Updating Keywords for Broadcast Campaign

Ashley Parks -

PUT /api/v2/lists/:list_id/keywords

Parameters

NameDescription
keyword_names Array of keyword names

Request

Headers

Accept: application/json
Content-Type: application/json
Authorization: Basic dGF0YW5nbzp0YXRhbmdvX2tleV9qSC1FMWY0a0E0V1FiclNPcTVVOGtR

Host: example.org
Cookie: 

Route

PUT /api/v2/lists/1/keywords

Body

{"keyword_names":["TEST","KEYWORD","NAMES"]}

cURL

curl "https://app.tatango.com/api/v2/lists/1/keywords" -d '{"keyword_names":["TEST","KEYWORD","NAMES"]}' -X PUT \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-u tatango:tatango_key_jH-E1f4kA4WQbrSOq5U8kQ \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json; charset=utf-8
X-Meta-Request-Version: 0.2.6
Content-Security-Policy: default-src https: 'self'; connect-src http: https: 'self' wss://*.intercom.io; img-src https: 'self'; script-src 'self' *.intercom.io *.intercomcdn.com 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; report-uri /uri-directive
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 1; mode=block
X-UA-Compatible: IE=Edge,chrome=1
ETag: "d73b704e12bf31cf29aaa4e21c3bb941"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 4954dd11bb7e1a2f20d56fa33d4307b7
X-Runtime: 0.068506
Set-Cookie: __profilin=p%3Dt; path=/
Content-Length: 72

Status

200 OK

Body

{"status":"Keywords changed","keyword_names":["TEST","KEYWORD","NAMES"]}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.