On this pageList Subscriber ObjectGEThttps://api.courier.com/lists/:list_id/subscriptionsGet the list's subscriptionsPATH PARAMSlist_idstringrequiredA unique identifier associated with the list you wish to retrieve.QUERY PARAMScursorstringA unique identifier that allows for fetching the next set of list subscriptionsResponses200 OKobject404 Not FoundobjectAUTH TOKENTry ItcURLNode.jsRubyPythonGoPHPcurl --request GET \ --url https://api.courier.com/lists/example.list.id/subscriptions?cursor=MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA \ --header 'Accept: application/json' Copy// Dependencies to install:// $ npm install node-fetch --saveconst fetch = require('node-fetch');const options = { method: 'GET', headers: { Accept: 'application/json' },};fetch('https://api.courier.com/lists/example.list.id/subscriptions?cursor=MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));Copyrequire 'uri'require 'net/http'require 'openssl'url = URI("https://api.courier.com/lists/example.list.id/subscriptions?cursor=MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA")http = Net::HTTP.new(url.host, url.port)http.use_ssl = truerequest = Net::HTTP::Get.new(url)request["Accept"] = 'application/json'response = http.request(request)puts response.read_bodyCopy# Dependencies to install:# $ python -m pip install requestsimport requestsurl = "https://api.courier.com/lists/example.list.id/subscriptions?cursor=MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA"headers = { "Accept": "application/json"}response = requests.request("GET", url, headers=headers)print(response.text)Copypackage mainimport ( "fmt" "net/http" "io/ioutil")func main() { url := "https://api.courier.com/lists/example.list.id/subscriptions?cursor=MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA" req, _ := http.NewRequest("GET", url, payload) req.Header.Add("Accept", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}Copy<?php// Dependencies to install:// $ composer require guzzlehttp/guzzlerequire_once('vendor/autoload.php');$client = new \GuzzleHttp\Client();$response = $client->request('GET', 'https://api.courier.com/lists/example.list.id/subscriptions?cursor=MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA', [ 'headers' => [ 'Accept' => 'application/json', ],]);echo $response->getBody();CopyResponse Example200 OK404 Not Found{ "paging": { "cursor": "MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA==", "more": true }, "items": [ { "recipientId": "0460766e-8463-4905-ae98-b72c7aef41d6", "created": "2020-06-10T18:41:29.093Z", "preferences": { "notifications": { "{KEY}": { "channel_preferences": [ { "channel": "push" } ], "rules": [ { "type": "snooze", "start": "2021-08-23T23:27:41+00:00", "until": "2022-09-16T23:27:41+00:00" } ], "status": "OPTED_IN" } }, "categories": { "{KEY}": { "channel_preferences": [ { "channel": "push" } ], "rules": [ { "type": "snooze", "start": "2021-08-23T23:27:41+00:00", "until": "2022-09-16T23:27:41+00:00" } ], "status": "OPTED_IN" } } } } ]}CopyExampleMethod: GETURL: https://api.courier.com/lists/abcdefgh12345678/subscriptions