Barcoding
Notifications
Orders
Patients
- GETGet patients
- POSTCreate a patient
- GETGet a patient's details
- PUTUpdate a patient's details
- GETGet guardian relationship types
- GETGet a patient's orders
- GETGet a patient's risk factors
- POSTCreate risk factors
- POSTCreate a single risk factor
- PATCHConfirm risk factor match
- DELDeactivate a risk factor
- POSTAdd freeform risk factor text
Prescribers
Prescriptions
Products and Materials
Products and Materials Inventory
- GETGet formulas
- POSTCreate formula
- GETGet inventory
- POSTCreate product inventory
- GETGet inventory lot details
- PUTUpdate inventory lot
- GETGet a prescription product inventory
- POSTCreate prescription product inventory
- GETGet a non-prescription product inventory
- POSTCreate non-prescription product inventory
- GETGet order material inventory
- POSTCreate order material product inventory
- PATCHAdjust inventory quantity
- GETGet inventory associations
- POSTCreate inventory association
- DELRemove inventory association
Reports
Search
Tasks
Webhooks
Authentication
Refresh access token
Refresh the access token using the refresh token. Note that this endpoint requires the refresh token (not access token) be sent in the Authorization header. Returns a new JWT access token.
POST
/
api
/
v1
/
auth
/
refresh
Copy
curl --request POST \
--url https://api.byblend.com/api/v1/auth/refresh \
--header 'Authorization: Bearer <token>'
Copy
{
"access_token": "eyJhbGciOiJIAzI1NiIsInR5cCI6IkpXVCJ9..."
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
Successful response with new access token
The response is of type object
.
Copy
curl --request POST \
--url https://api.byblend.com/api/v1/auth/refresh \
--header 'Authorization: Bearer <token>'
Copy
{
"access_token": "eyJhbGciOiJIAzI1NiIsInR5cCI6IkpXVCJ9..."
}
Assistant
Responses are generated using AI and may contain mistakes.