This information aims to provide a guide for the correct consumption of the MasivpUSH API service, below you can see examples of the body of the request for PUSH shipments
All Push API endpoints require authentication. For this, it is necessary that in each of the requests that are made, an authentication header of the Basic Authentication type corresponding to a valid Masiv user is included.
| Header name | Value | Description | Mandatory |
|---|---|---|---|
| Authorization | Basic Token | Basic Auth type authentication header, the token must contain the following structure user:password base 64 encoded and correspond to a valid Masiv user. | Required |
| Authorization with Login | Bearer Token | Bearer Token generated to authenticate with other services(Version Legacy) for deprecated | Required |
Production Virginia server environment: https://pushprod.masivapp.com
Production Emirates server environment: https://push-me-central-1.masivapp.com
Basic Auth
Basic authentication is a simple authentication scheme built into the HTTP protocol. To use it, send your HTTP requests with an Authorization header that contains the word Basic followed by a space and a base64-encoded string username:password
Example: Authorization: Basic ZGVtbzpwQDU1dzByZA==
v1.0
Production Virginia server environment: https://pushprod.masivapp.com
Production Emirates server environment: https://push-me-central-1.masivapp.com