GET
/
api
/
v1
/
tasks
curl --request GET \
  --url https://api.byblend.com/api/v1/tasks \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
    "assignee": {
      "id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
      "first_name": "Rodrigo",
      "last_name": "Davis",
      "role": "admin"
    },
    "completed_at": "2025-02-01T20:10:43Z",
    "created_at": "2025-01-01T00:00:00Z",
    "created_by_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
    "assignee_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
    "name": "Confirm shelf-stability of recent batch",
    "description": "Please find the most recent batch (April 2, 2025) of the topical rapamycin and confirm shelf-stability given the new expiration date of May 14, 2025.",
    "category_code": "T01",
    "category_name": "Order",
    "status_code": "NEW",
    "status_name": "New",
    "order_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
    "patient_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
    "prescription_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
    "watchers": [
      {
        "id": "1326d1e5-ba9a-42b5-8fe2-38882aa65708",
        "first_name": "Daphne",
        "last_name": "Dafoe",
        "role": "admin"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

type
string

Optional type of tasks to retrieve, either assigned,created, watched

Example:

"watched"

status_code
string

Optional status code to filter tasks by

Example:

"COM"

category_code
string

Optional category code to filter tasks by

Example:

"T01"

Response

200 - application/json

Successful response with tasks

The response is of type object[].