-
Notifications
You must be signed in to change notification settings - Fork 0
API Usage Auth System
simitben edited this page Apr 10, 2026
·
1 revision
This page explains how third-party systems should authenticate and perform basic system checks in SimBiz 6 API V3.
https://<host>/api/v3
-
POST /api/v3/tokenandGET /api/v3/healthare public endpoints. - All other protected endpoints require:
Authorization: Bearer <token>x-uid: <uid>
For date-time fields in responses (example: expires_at), use:
YYYY-MM-DD HH:MM:SS
| Endpoint | Method | Purpose |
|---|---|---|
/api/v3/token |
POST | Get access token |
/api/v3/health |
GET | Check API service health |
Download files:
../postman/SimBiz6-API-V3.postman_collection.json../postman/SimBiz6-API-V3.postman_environment.json
Import both files in Postman, set secret, then run Get Token.
- Success response uses
status: "OK". - Business data is returned in
data. - Additional metadata is returned in
meta(or empty object for simple responses).
POST /api/v3/token
| Field | Type | Required | Notes |
|---|---|---|---|
uid |
string | Yes | integration user id |
secret |
string | Yes | integration secret |
organization_code |
string | No | org context (recommended for multi-org integration) |
curl -X POST "https://<host>/api/v3/token" \
-H "Content-Type: application/json" \
-d '{
"uid": "support",
"secret": "<api-secret>",
"organization_code": "BHH"
}'{
"status": "OK",
"data": {
"uid": "support",
"organization_id": "1",
"organization_code": "BHH",
"token": "<token-value>",
"expires_at": "2026-04-09 15:55:00"
},
"meta": {}
}GET /api/v3/health
curl -X GET "https://<host>/api/v3/health"{
"status": "OK",
"data": {
"name": "SimBiz 6 API V3",
"status": "UP"
},
"meta": {}
}Use token from POST /api/v3/token for protected APIs.
curl -G "https://<host>/api/v3/business-partners" \
-H "Authorization: Bearer <token>" \
-H "x-uid: support" \
--data-urlencode "page=1" \
--data-urlencode "per_page=20"