Returns the reminder stages of every recall type in the practice, ordered by recall_type_id, then stage_order, then recall_stage_id. Use recall_stage_id to decode the value returned by GET Recalls and GET Patient Recalls.
Use cases
Show the name of the reminder stage that was sent for each recall.
Build a pick list of reminder stages for a recall report.
Work out the recall period configured for each stage.
Parameters
recall_type_id
| integer | Optional. Limit the list to one recall type. Use -1 or omit the parameter for all recall types. 0 is not a valid value and returns 422. |
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, because a recall can refer to a stage that the practice has since made inactive. |
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. Decode it with GET Recall Types. |
recall_stage_name
| string | Name of the reminder stage, for example 1st Reminder. |
stage_order
| integer | Position of the stage inside its 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.
Decoding recalls: call this endpoint without active and match on recall_stage_id. Use active=1 only to build pick lists.
Stages of one type: GET Recall Stages By Recall Type returns the same fields for a single recall type.
No matches: a request that matches no stages returns 200 with an empty data array and the message No records found.
Quick example
curl "https://api-uat.dental4web.com.au/api/v1/recall-stages?recall_type_id=1&per_page=10" \
-H "x-api-key: $API_KEY" \
-H "org-id: $ORG_ID" \
-H "Accept: application/json"