Test Keyword Availability

Ashley Parks -

[SUCCESS] testing keyword avaliability for campaign

POST /api/v2/shortcodes/:id/test_keyword

Parameters

NameDescription
keyword_name Keyword name to test

Request

Headers

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

Host: example.org
Cookie: 

Route

POST /api/v2/shortcodes/33733/test_keyword

Body

{"keyword_name":"TEST"}

cURL

curl "https://app.tatango.com/api/v2/shortcodes/33733/test_keyword" -d '{"keyword_name":"TEST"}' -X POST \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-u tatango:tatango_key_y-80P6iB-qL4Tq1mmNznOg \
	-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: "a36ddbc6ff0400f9b4104ed36d57d7c9"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 9eb9246474800004dec7ed6c60e03630
X-Runtime: 0.016485
Set-Cookie: __profilin=p%3Dt; path=/
Content-Length: 42

Status

200 OK

Body

{"status":"OK","keyword_name":"available"}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.