Using the Try It Interface
BEARER TOKEN LIFESPAN
The lifespan of a Bearer token is one hour (3600 seconds) for both sandbox and production environments.
Using the interactive Try It interface
Use our interactive Try It interface as shown below using our predefined values to familiarize yourself with our APIs.
- For example, generate a bearer token.
- Use your sandbox client ID and client secret in their respective fields, and use
client_credentials
in the grant_type field and click Try It.
![Try_It.png 2174](https://files.readme.io/5f5567b-Try_It.png)
Interactive Try It Interface
Click 200, highlighted in the following figure, to view the sample response contents.
![TryIt_200.jpg 2066](https://files.readme.io/9a767cd-TryIt_200.jpg)
API Response Sample
IMPORTANT
For sandbox usage, all fields must have the correct predefined values to obtain a successful response. Inventing new PMI values or using real-world PMI values will result in errors. Please provide all of the values, such as
tradingPartnerServiceId
,controlNumber
,subscriber
, and so on marked as required (R) (see example) in your API requests.
HTTP Response Codes
Related Topics
Updated 5 months ago