Returns the practice’s recall types. A recall type is a recall set in the practice management system. Use recall_type_id to decode the value returned by GET Recalls and GET Patient Recalls.
Use cases
Show the name of a recall type next to each recall in a recall list.
Build a pick list of recall types for a recall due report.
Distinguish automated recall sets from manual ones.
Parameters
active
| integer | Optional. 1 returns active recall types only. 0 or omitted returns all recall types. Any other value returns 422. Omit it when you are decoding recalls, because a recall can refer to a type 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_type_id
| integer | Recall type identifier. Matches recall_type_id in GET Recalls and GET Patient Recalls. |
recall_type_name
| string | Name of the recall type. |
is_active
| boolean | true when the recall type is active.
|
is_automated
| boolean | true when the recall type is an automated recall set.
|
Example response
{
"status": true,
"message": "Success",
"data": [
{
"recall_type_id": 1,
"recall_type_name": "Manual Recalls",
"is_active": true,
"is_automated": false
},
{
"recall_type_id": 18,
"recall_type_name": "Automated Recalls",
"is_active": true,
"is_automated": 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_type_id. Use active=1 only to build pick lists.
No matches: a practice with no recall types returns 200 with an empty data array and the message No records found.
Stages: use GET Recall Stages or GET Recall Stages By Recall Type to list the reminder stages inside each recall type.
Quick example
curl "https://api-uat.dental4web.com.au/api/v1/recall-types?per_page=10" \
-H "x-api-key: $API_KEY" \
-H "org-id: $ORG_ID" \
-H "Accept: application/json"