Postman Collection
Use our Postman collection to quickly test and explore the Najeeb Health Suite API.
Import Collection
- Download the collection: Najeeb Health Suite.postman_collection.json
- Open Postman
- Click Import → Upload Files
- Select the downloaded collection file
Environment Setup
Create a new environment in Postman with the following variables:
| Variable | Initial Value | Current Value |
|---|---|---|
base_url | https://api.najeeb.com/v1 | https://api.najeeb.com/v1 |
client_id | YOUR_CLIENT_ID | YOUR_CLIENT_ID |
client_secret | YOUR_CLIENT_SECRET | YOUR_CLIENT_SECRET |
access_token | (leave empty) | (auto-populated) |
Authentication
The collection includes a pre-request script that automatically obtains and refreshes access tokens.
Manual Token Request
If you prefer to get a token manually:
- Select the Authentication folder
- Run the Get Access Token request
- Copy the
access_tokenfrom the response - Set it in your environment variables
Collection Structure
Authentication
- Get Access Token
Patients
- List Patients
- Get Patient
- Create Patient
- Update Patient
- Delete Patient
Claims
- List Claims
- Get Claim
- Submit Claim
- Update Claim Status
Providers
- List Providers
- Get Provider
- Check Provider Availability
Authorizations
- List Authorizations
- Get Authorization
- Request Authorization
- Approve Authorization
- Reject Authorization
Using the Collection
Example: Create a Patient
- Select Patients → Create Patient
- The request is pre-configured with example data
- Modify the request body as needed
- Click Send
Example: Submit a Claim
- First, get a patient ID and provider ID
- Select Claims → Submit Claim
- Update the request body with your patient and provider IDs
- Click Send
Testing Webhooks
To test webhooks locally:
- Use ngrok to expose your local server:
ngrok http 3000 - Use the ngrok URL in your webhook configuration
- Trigger events using the Postman collection
- Verify webhook delivery in your local server logs
Environment Variables
The collection uses these variables:
{{base_url}}- API base URL{{access_token}}- OAuth access token{{patient_id}}- Patient ID (set after creating a patient){{claim_id}}- Claim ID (set after submitting a claim){{authorization_id}}- Authorization ID (set after requesting authorization)
Next Steps
- API Reference - Full API documentation
- Quick Start - Get started with the API