Create a recall
curl --request POST \
--url https://api.usecobalt.com/v1/recalls \
--header 'Content-Type: application/json' \
--header 'access_token: <api-key>' \
--header 'client_id: <api-key>' \
--header 'client_secret: <api-key>' \
--data '
{
"patient_mrn": "12345",
"recall_type": "Inbound Referral 1 Week",
"due_date": "2026-09-01",
"provider_ehr_id": "<string>",
"provider_name": "<string>",
"reason": "<string>",
"appt_notes": "<string>",
"callback_urls": [
"<string>"
]
}
'import requests
url = "https://api.usecobalt.com/v1/recalls"
payload = {
"patient_mrn": "12345",
"recall_type": "Inbound Referral 1 Week",
"due_date": "2026-09-01",
"provider_ehr_id": "<string>",
"provider_name": "<string>",
"reason": "<string>",
"appt_notes": "<string>",
"callback_urls": ["<string>"]
}
headers = {
"client_id": "<api-key>",
"client_secret": "<api-key>",
"access_token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
client_id: '<api-key>',
client_secret: '<api-key>',
access_token: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
patient_mrn: '12345',
recall_type: 'Inbound Referral 1 Week',
due_date: '2026-09-01',
provider_ehr_id: '<string>',
provider_name: '<string>',
reason: '<string>',
appt_notes: '<string>',
callback_urls: ['<string>']
})
};
fetch('https://api.usecobalt.com/v1/recalls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.usecobalt.com/v1/recalls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'patient_mrn' => '12345',
'recall_type' => 'Inbound Referral 1 Week',
'due_date' => '2026-09-01',
'provider_ehr_id' => '<string>',
'provider_name' => '<string>',
'reason' => '<string>',
'appt_notes' => '<string>',
'callback_urls' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access_token: <api-key>",
"client_id: <api-key>",
"client_secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.usecobalt.com/v1/recalls"
payload := strings.NewReader("{\n \"patient_mrn\": \"12345\",\n \"recall_type\": \"Inbound Referral 1 Week\",\n \"due_date\": \"2026-09-01\",\n \"provider_ehr_id\": \"<string>\",\n \"provider_name\": \"<string>\",\n \"reason\": \"<string>\",\n \"appt_notes\": \"<string>\",\n \"callback_urls\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("client_id", "<api-key>")
req.Header.Add("client_secret", "<api-key>")
req.Header.Add("access_token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.usecobalt.com/v1/recalls")
.header("client_id", "<api-key>")
.header("client_secret", "<api-key>")
.header("access_token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"patient_mrn\": \"12345\",\n \"recall_type\": \"Inbound Referral 1 Week\",\n \"due_date\": \"2026-09-01\",\n \"provider_ehr_id\": \"<string>\",\n \"provider_name\": \"<string>\",\n \"reason\": \"<string>\",\n \"appt_notes\": \"<string>\",\n \"callback_urls\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usecobalt.com/v1/recalls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["client_id"] = '<api-key>'
request["client_secret"] = '<api-key>'
request["access_token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"patient_mrn\": \"12345\",\n \"recall_type\": \"Inbound Referral 1 Week\",\n \"due_date\": \"2026-09-01\",\n \"provider_ehr_id\": \"<string>\",\n \"provider_name\": \"<string>\",\n \"reason\": \"<string>\",\n \"appt_notes\": \"<string>\",\n \"callback_urls\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"recall_id": "<string>",
"job_id": 123
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}Recalls
Create Recall
Creates a recall in the connected account’s EMR.
POST
/
recalls
Create a recall
curl --request POST \
--url https://api.usecobalt.com/v1/recalls \
--header 'Content-Type: application/json' \
--header 'access_token: <api-key>' \
--header 'client_id: <api-key>' \
--header 'client_secret: <api-key>' \
--data '
{
"patient_mrn": "12345",
"recall_type": "Inbound Referral 1 Week",
"due_date": "2026-09-01",
"provider_ehr_id": "<string>",
"provider_name": "<string>",
"reason": "<string>",
"appt_notes": "<string>",
"callback_urls": [
"<string>"
]
}
'import requests
url = "https://api.usecobalt.com/v1/recalls"
payload = {
"patient_mrn": "12345",
"recall_type": "Inbound Referral 1 Week",
"due_date": "2026-09-01",
"provider_ehr_id": "<string>",
"provider_name": "<string>",
"reason": "<string>",
"appt_notes": "<string>",
"callback_urls": ["<string>"]
}
headers = {
"client_id": "<api-key>",
"client_secret": "<api-key>",
"access_token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
client_id: '<api-key>',
client_secret: '<api-key>',
access_token: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
patient_mrn: '12345',
recall_type: 'Inbound Referral 1 Week',
due_date: '2026-09-01',
provider_ehr_id: '<string>',
provider_name: '<string>',
reason: '<string>',
appt_notes: '<string>',
callback_urls: ['<string>']
})
};
fetch('https://api.usecobalt.com/v1/recalls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.usecobalt.com/v1/recalls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'patient_mrn' => '12345',
'recall_type' => 'Inbound Referral 1 Week',
'due_date' => '2026-09-01',
'provider_ehr_id' => '<string>',
'provider_name' => '<string>',
'reason' => '<string>',
'appt_notes' => '<string>',
'callback_urls' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access_token: <api-key>",
"client_id: <api-key>",
"client_secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.usecobalt.com/v1/recalls"
payload := strings.NewReader("{\n \"patient_mrn\": \"12345\",\n \"recall_type\": \"Inbound Referral 1 Week\",\n \"due_date\": \"2026-09-01\",\n \"provider_ehr_id\": \"<string>\",\n \"provider_name\": \"<string>\",\n \"reason\": \"<string>\",\n \"appt_notes\": \"<string>\",\n \"callback_urls\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("client_id", "<api-key>")
req.Header.Add("client_secret", "<api-key>")
req.Header.Add("access_token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.usecobalt.com/v1/recalls")
.header("client_id", "<api-key>")
.header("client_secret", "<api-key>")
.header("access_token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"patient_mrn\": \"12345\",\n \"recall_type\": \"Inbound Referral 1 Week\",\n \"due_date\": \"2026-09-01\",\n \"provider_ehr_id\": \"<string>\",\n \"provider_name\": \"<string>\",\n \"reason\": \"<string>\",\n \"appt_notes\": \"<string>\",\n \"callback_urls\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usecobalt.com/v1/recalls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["client_id"] = '<api-key>'
request["client_secret"] = '<api-key>'
request["access_token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"patient_mrn\": \"12345\",\n \"recall_type\": \"Inbound Referral 1 Week\",\n \"due_date\": \"2026-09-01\",\n \"provider_ehr_id\": \"<string>\",\n \"provider_name\": \"<string>\",\n \"reason\": \"<string>\",\n \"appt_notes\": \"<string>\",\n \"callback_urls\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"recall_id": "<string>",
"job_id": 123
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}Recalls are created asynchronously: a valid request returns immediately, and a
recall.created or recall.failed webhook is sent when processing completes.
Creating recalls is only supported for ModMed EMA.Authorizations
Body
application/json
MRN of the patient the recall is for.
Example:
"12345"
Exact recall type name as configured in the EMR.
Example:
"Inbound Referral 1 Week"
Target due date (YYYY-MM-DD).
Example:
"2026-09-01"
EMR provider id for the recall. Supply this or provider_name (id preferred).
Provider name as synced. Used only when provider_ehr_id is absent.
Free-text reason for the recall.
Initial note on the recall.
URLs to receive the completion webhook for this create.
⌘I