Query Broadcast Campaign by ID

Ashley Parks -

GET /api/v2/lists/:id

Request

Headers

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

Host: example.org
Cookie: 

Route

GET /api/v2/lists/1

cURL

curl "https://app.tatango.com/api/v2/lists/1" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-u tatango:tatango_key__nxOqUJYnSzHUy6lI29p0g \
	-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: "a29511f4178a59c5fd5e73d0e6278637"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 33b052d51ffca857a7a4388fefbe3104
X-Runtime: 0.013778
Set-Cookie: __profilin=p%3Dt; path=/
Content-Length: 424

Status

200 OK

Body

{"status":"OK","list":{"email_digest":"myemail45@gmail.com","email_subscribe":null,"email_unsubscribe":null,"first_optin_message":"","id":1,"message_already_subscribed":null,"message_help":null,"message_reply":null,"message_stop":null,"message_yes":null,"name":"Pizza Campaign","second_optin_message":"","keyword_names":[],"counts":{"subscribers":0,"unsubscribed":0,"cleaned":0},"opt_in_type":"single","opt_in_requests":[]}}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.