List Recipients
Get Recipients of Job
In this section, you will learn how you can get a list of all the recipients associated with a job
URL Config
Method: GET
Endpoint: https://api-stage.dps.io/api
APIVersion: v1
route: jobs
path: recipients/<YOUR_JOB_HASH>
Method
GET
URL
https://api-stage.dps.io/api/v1/jobs/recipients/<YOUR_JOB_HASH>
Request Headers
{
"Content-Type": "application/json",
"x-api-key": "<YOUR_API_KEY>",
"ShipperHash": "<YOUR_SHIPPER_HASH>"
}
Curl request
curl --location --request GET 'https://api-stage.dps.io/api/v1/jobs/recipients/<YOUR_JOB_HASH>' \
--header 'x-api-key: xxxxxxdfjbdjdfjdhfxxxxxxx' \
--header 'ShipperHash: 05K9****************************BJG6a'
Response
[
{
"Name": "John Doe",
"Phone": "9729729721",
"Email": "test@dps.io",
"CompanyName": "xyz Company",
"City": "Placida",
"State": "FL",
"Zip": "33946",
"Country": "US",
"AddressLine1": "12575 Placida RD",
"AddressLine2": "Plaicda",
"RecipientHash": "3bZ9***************Wle9l"
}
]