List All Broadcast Campaigns

Ashley Parks -

GET /api/v2/lists

Request

Headers

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

Host: example.org
Cookie: 

Route

GET /api/v2/lists

cURL

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

Status

200 OK

Body

{"status":"OK","per_page":10,"count":3,"page":1,"pages_count":1,"lists":[{"email_digest":"myemail39@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":[]},{"email_digest":"myemail41@gmail.com","email_subscribe":null,"email_unsubscribe":null,"first_optin_message":"","id":2,"message_already_subscribed":null,"message_help":null,"message_reply":null,"message_stop":null,"message_yes":null,"name":"Mobile Campaign","second_optin_message":"","keyword_names":[],"counts":{"subscribers":0,"unsubscribed":0,"cleaned":0},"opt_in_type":"single","opt_in_requests":[]},{"email_digest":"myemail42@gmail.com","email_subscribe":null,"email_unsubscribe":null,"first_optin_message":"","id":3,"message_already_subscribed":null,"message_help":null,"message_reply":null,"message_stop":null,"message_yes":null,"name":"Pizza Campaign","second_optin_message":"","keyword_names":["NEWHOTELS"],"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.