Get started
Quickstart
Send your first request to the NTL Bill Online API.
This quickstart helps you authenticate and prepare for business APIs such as creating shipments, tracking shipments, and looking up locations.
What you need
- An account or credentials provided by Nhất Tín for the correct environment.
- The base URL for sandbox or production.
- A backend server to keep usernames, passwords, and tokens private.
First authentication request
curl --request POST \
--url https://apisandbox.ntlogistics.vn/v1/auth/sign-in \
--header "Content-Type: application/json" \
--data '{"username":"your_account","password":"your_password"}'After receiving an access token, send Authorization: Bearer <access_token> on the next requests.
Next step
Read JWT authentication to understand token refresh and common error handling.