Returns the reminder stages of one recall type, ordered by stage_order then recall_stage_id. The fields are the same as GET Recall Stages.
Use cases
Show the reminder stages of a recall type after the user picks it from a list.
Decode recall_stage_id values for the recalls of one recall type.
Read the recall period configured for each stage of a recall type.
Parameters
recall_type_id
| integer | Required, in the path. The recall type to list stages for. 1 to 999,999,999. Get the ids from GET Recall Types. |
active
| integer | Optional. 1 returns active stages only. 0 or omitted returns all stages. Any other value returns 422. Omit it when you are decoding recalls. |
page
| integer | Page number. Optional. Default 1. |
per_page
| integer | Records per page. Optional. Default 10. Maximum 500. |
Response fields
recall_stage_id
| integer | Recall stage identifier. Matches recall_stage_id in GET Recalls and GET Patient Recalls. |
recall_type_id
| integer | The recall type the stage belongs to. Always the value in the path. |
recall_stage_name
| string | Name of the reminder stage, for example 1st Reminder. |
stage_order
| integer | Position of the stage inside the recall type. Can be 0. |
recall_period_months
| integer or null | The recall period in months. null when the stage has no period. |
is_active
| boolean | true when the stage is active.
|
Example response
{
"status": true,
"message": "Success",
"data": [
{
"recall_stage_id": 1,
"recall_type_id": 1,
"recall_stage_name": "1st Reminder",
"stage_order": 1,
"recall_period_months": 6,
"is_active": true
},
{
"recall_stage_id": 25,
"recall_type_id": 1,
"recall_stage_name": "2nd Reminder - Lapsed",
"stage_order": 2,
"recall_period_months": 6,
"is_active": true
}
],
"pagination": {
"page": 1,
"per_page": 10,
"total_rows": 2,
"total_pages": 1
}
}
Error responses
See Validation, Limits & Character Handling for the full support code catalogue.
400 | None | A query parameter that this endpoint does not accept was sent (Unexpected parameters: ...). |
400 | MOD-4265
| The practice database does not yet support this endpoint: it is on a data model older than V19, or on an early V19 release that has not received the later V19 update. When the practice is older than V19 the message names the version it is on. Retrying does not help; the practice needs an upgrade. |
401 | None | The API key is valid but is not linked to an integration account. |
403 | None | Missing or invalid x-api-key. |
422 | None | A parameter value is invalid, for example out of range or not an integer. |
429 | RL-001, D4W-RL-MIN-001 or D4W-RL-DAY-001
| A rate limit was exceeded. Wait for the number of seconds in the Retry-After header before retrying. |
502 | SVC-502
| The practice database service could not be reached. Safe to retry. |
503 | SVC-503 or a more specific code
| The service or the practice is temporarily unavailable. When a Retry-After header is present, wait that long before retrying. |
504 | SVC-504
| The API timed out waiting for the practice database. Safe to retry a read. |
Important notes
Data model: requires data model V19 or later. A practice on an older data model receives 400 with support_codeMOD-4265.
Unknown recall type: a recall_type_id that does not exist returns 200 with an empty data array and the message No records found., not 404.
All types at once: use GET Recall Stages to read the stages of every recall type in one list.
Quick example
curl "https://api-uat.dental4web.com.au/api/v1/recall-types/1/stages?per_page=10" \
-H "x-api-key: $API_KEY" \
-H "org-id: $ORG_ID" \
-H "Accept: application/json"