# Create a tracking for handling units with same document reference. **POST /track-document** Sample request: POST /track-document ## Servers - https://soget-api-integration.azure-api.net/api-tracking-code-in-mass/v1: https://soget-api-integration.azure-api.net/api-tracking-code-in-mass/v1 () ## Parameters ### Body: application/json (object) Information of new tracking. - **way** (string) Customs indicators - **place** (string | null) Event location. - **agentCode** (string | null) Agent code. - **url** (string) Webhook URL endpoint to receive tracking events' notifications. - **documentReference** (string) Reference of the announcement document ## Responses ### 201 Created.

API will return the functional ID of Tracking. #### Body: application/json (object) - **trackingId** (string | null) Functional ID of the tracking - **trackedHandlingUnits** (array[object] | null) List tracked handling unit ### 400 Bad Request #### Body: application/json (object) - **status** (string | null) Error status. - **timestamp** (string(date-time)) Error timestamp. - **code** (string | null) Error code. - **message** (string | null) Error message. - **subErrors** (array[object] | null) Error details. ### 401 Unauthorized #### Body: application/json (object) - **status** (string | null) Error status. - **timestamp** (string(date-time)) Error timestamp. - **code** (string | null) Error code. - **message** (string | null) Error message. - **subErrors** (array[object] | null) Error details. [Powered by Bump.sh](https://bump.sh)