Authorization
nib Travel API access is via a Bearer token authorization set in the HTTP Header. To get a bearer token, the token endpoint in the users api needs to be called first using the user credentials approach. The below curl request shows the input parameters needed for the token endpoint
The endpoint details for Prod and Staging environments are given below
The possible brand codes are given below. Partner brand codes are also supported:
The parameter details are given below
The response from the above request will give the access_token.
nib Travel API endpoints can be accessed by passing this access_token value as bearer token in HTTP Headers like this example given below.