Skip to main content

Get Recipients

Get Single Recipients of job

In this section, you will learn how you can get a single recipient associated with a job

URL Config
Method: GET
Endpoint: https://api.dps.io/api
APIVersion: v1
route: jobs
path: recipients/<YOUR_JOB_HASH>/<RECIPIENT_HASH>
Method
GET
URL
https://api.dps.io/api/v1/jobs/recipients/Gdds****************************MEMo
Request Headers
{
"x-api-key": "<YOUR_API_KEY>",
"ShipperHash": "<YOUR_SHIPPER_HASH>"
}
Curl request
curl --location --request DELETE 'https://api.dps.io/api/v1/jobs/recipients/Gdds****************************MEMo'
--header 'x-api-key: xxxxxxdfjbdjdfjdhfxxxxxxx' \
--header 'ShipperHash: 05K9**********************JG6a'
Response
{
"data": [
{
"Name": "John Doe",
"Phone": "9876543210",
"Email": "",
"CompanyName": "try2code",
"City": "PACIFIC GROVE",
"State": "CA",
"Zip": "93950",
"Country": "United States",
"AddressLine1": "585 OCEAN VIEW BLVD APT 7",
"AddressLine2": " Apt 7",
"RecipientHash": "1SUXe********************87e"
}
]
}