For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Favorite HSCodes

Fetch available Favorite HSCodes

/hs-codes/favorites

GET https://api.terminal.africa/v1/hs-codes/favorites

This endpoint allows you to fetch lists of your saved favorite HS codes.

Query Parameters

Name
Type
Description

perPage

Number

Specify how many records will be sent in a single response. Defaults to 100.

page

Number

Specify what page of records will be sent in response. Defaults to 1.

Headers

Name
Type
Description

Authorization*

String

Set value to Bearer SECRET_KEY

{
    "status": true,
    "message": "Favorite HS codes retrieved successfully",
    "data": {
        "favorite_hs_codes": [
            {
                "scientific_name": "",
                "regulatory_documents": [],
                "_id": "693da4d80261e755c6b9e160",
                "user": "USER-96349674838",
                "description": "Analog wristwatch",
                "hs_code": "9102110000",
                "hs_code_id": "HS-K4Y1YN2LKO50XBKJ",
                "created_at": "2025-12-13T17:39:36.019Z",
                "updated_at": "2025-12-13T17:39:36.019Z",
                "__v": 0,
                "id": "693da4d80261e755c6b9e160"
            }
        ]
    }
}

Last updated

Was this helpful?