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
Tasks
Update task watchers
Update the watchers for a specific task.
PUT
/
api
/
v1
/
tasks
/
{task_id}
/
watchers
Copy
curl --request PUT \
--url https://api.byblend.com/api/v1/tasks/{task_id}/watchers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"id": "s9da981s-9107-4c81-b3f3-562e9e9034b7"
}
]'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier for the task (UUID).
Example:
"98cae3a3-996c-4bf5-9143-0ab6d98bc1d0"
Body
application/json · object[]
Array of user IDs to be added as watchers to the task
The body is of type object[]
.
Response
200
Task watchers updated successfully
Copy
curl --request PUT \
--url https://api.byblend.com/api/v1/tasks/{task_id}/watchers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"id": "s9da981s-9107-4c81-b3f3-562e9e9034b7"
}
]'
Assistant
Responses are generated using AI and may contain mistakes.