Skip to main content
All CollectionsAPI
Use the Nektar API with Postman
Use the Nektar API with Postman

Test API integration

Mike Maat avatar
Written by Mike Maat
Updated over 4 months ago

Nektar's API documentation is here.

Getting authenticated

The API documentation describes different types of operations that can be performed. The first required call is in the Authentication section.

Setting up in Postman

  1. Open Postman and set the request type to POST.

  2. Go to the Authentication page and copy the endpoint.

  3. Paste the endpoint into Postman's URL field.

  4. In Postman, select the Body tab.

  5. Select x-www-form-urlencoded.

  6. Enter the required keys: username, password, and grant_type (where grant_type value is always password).

Postman should look like this:

Results

Click Send to retrieve your authentication information. Postman should return a 200 code with the following response.

Use the access_token value in all future calls to the Nektar API. You can set this in Postman by creating a new request and adding the token settings within the Authorization tab.

  1. Click the Auth tab and Bearer Token on the drop-down.

  2. Paste the access_token value into the token box.


Related articles

Did this answer your question?