curl --request GET \
--url https://api.byblend.com/api/v1/reasons \
--header 'Authorization: Bearer <token>'
[
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"name": "Adherence or Compliance",
"description": "Issues related to patient adherence and medication compliance.",
"is_global": true,
"parent_id": null,
"subcategories": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"name": "Behavioral Issues",
"description": "Patient refuses the commercial medication (e.g., children, pets, individuals with cognitive impairment).",
"parent_id": "00000000-0000-0000-0000-000000000101",
"is_global": false
}
]
}
]
Retrieve all compounding reasons.
curl --request GET \
--url https://api.byblend.com/api/v1/reasons \
--header 'Authorization: Bearer <token>'
[
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"name": "Adherence or Compliance",
"description": "Issues related to patient adherence and medication compliance.",
"is_global": true,
"parent_id": null,
"subcategories": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"name": "Behavioral Issues",
"description": "Patient refuses the commercial medication (e.g., children, pets, individuals with cognitive impairment).",
"parent_id": "00000000-0000-0000-0000-000000000101",
"is_global": false
}
]
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Optional filter to only return global ("global") or customer-specific ("customer") reasons
"customer"
Successful response with all compounding reasons.
The response is of type object[]
.