Skip to main content

Get the list of Topics of Individual Shipper

In this section, you will learn how to get the list of topics of an individual Shipper.

URL Config
Method:GET
Endpoint: https://api.dps.io/api
APIVersion: v1
route: topics
path: {{YOUR_SHIPPER_HASH}}
Method
GET
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 --request GET 'https://api.dps.io/api/v1/topics/{ShipperHash}' \
--header 'x-api-key: <your-api-key>' \
--header 'ShipperHash: <your-shipper-hash>' \
--data-raw ''