Skip to main content

Get Topic for Individual Shipper

In this section, you learn how to get a topic for a shipper

URL Config
Method: GET
Endpoint: https://api.dps.io/api
APIVersion: v1
route: topics
path: {{YOUR_SHIPPER_HASH}}/{{Your_TopicHash}}
querystring: Name, Subject
Request Headers
{
"Content-Type": "application/json",
"x-api-key": "<YOUR_API_KEY>",
"ShipperHash": "<YOUR_SHIPPER_HASH>"
}
Response

[
{
"TopicHash": "KmA****************KI",
"ShipperHash": "JEL****************Ex",
"Name": "TopicA",
"Subject": "SubjectA",
"Tags": "",
"CreatedDate": "2022-05-04 07:23:30.618674",
"LastModified": "2022-05-04 07:23:30.618689"
}
]

Curl request

curl --location -g --request GET 'https://api.dps.io/api/v1/topics/{ShipperHash}/{TopicHash}' \
--header 'x-api-key: <your-api-key>' \
--header 'ShipperHash: <your-shipper-hash>' \