Firstly you'll need to sign in to your account, or sign up if you don't already have one.
Log in to your admin account to retrieve your auth bearer token.
Send a POST request to the endpoint:
https://www.pnrexpert.com/api/v1/pnr
Make sure to include your auth bearer token in the headers and the PNR in the request body with the key pnr
.
POST /api/v1/pnr HTTP/1.1
Host: www.pnrexpert.com
Authorization: Bearer YOUR_AUTH_TOKEN
Content-Type: application/json
{
"pnr": "YOUR_PNR_HERE"
}
A: Make sure you're querying https://www.pnrexpert.com/api/v1/pnr
and not https://pnrexpert.com/api/v1/pnr
.
A: Yes, that's right. For security, every new subscription will have a new key.