curl --request POST \
--url https://mcp.arlohealth.ai/api/care-jobs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"patientId": "<string>",
"params": {},
"context": "<string>",
"cost": {
"amountCents": 123,
"description": "<string>"
},
"idempotencyKey": "<string>"
}
'import requests
url = "https://mcp.arlohealth.ai/api/care-jobs"
payload = {
"patientId": "<string>",
"params": {},
"context": "<string>",
"cost": {
"amountCents": 123,
"description": "<string>"
},
"idempotencyKey": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
patientId: '<string>',
params: {},
context: '<string>',
cost: {amountCents: 123, description: '<string>'},
idempotencyKey: '<string>'
})
};
fetch('https://mcp.arlohealth.ai/api/care-jobs', 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://mcp.arlohealth.ai/api/care-jobs",
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([
'patientId' => '<string>',
'params' => [
],
'context' => '<string>',
'cost' => [
'amountCents' => 123,
'description' => '<string>'
],
'idempotencyKey' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://mcp.arlohealth.ai/api/care-jobs"
payload := strings.NewReader("{\n \"patientId\": \"<string>\",\n \"params\": {},\n \"context\": \"<string>\",\n \"cost\": {\n \"amountCents\": 123,\n \"description\": \"<string>\"\n },\n \"idempotencyKey\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://mcp.arlohealth.ai/api/care-jobs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"patientId\": \"<string>\",\n \"params\": {},\n \"context\": \"<string>\",\n \"cost\": {\n \"amountCents\": 123,\n \"description\": \"<string>\"\n },\n \"idempotencyKey\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mcp.arlohealth.ai/api/care-jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"patientId\": \"<string>\",\n \"params\": {},\n \"context\": \"<string>\",\n \"cost\": {\n \"amountCents\": 123,\n \"description\": \"<string>\"\n },\n \"idempotencyKey\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "pending_approval",
"jobId": "<string>",
"jobType": "<string>",
"tier": "<string>",
"approvalUrl": "<string>",
"expiresAt": 123,
"sheet": {},
"agentInstructions": [
"<string>"
]
}{
"error": "<string>",
"reason": "<string>",
"code": "<string>"
}{
"error": "<string>",
"needsAuth": true
}Create Care Job
Propose a real-world care action that Arlo’s care team executes after
the user approves: move_referral (an EXTERNAL referral written by an
outside provider), book_appointment, or cancel_or_reschedule.
Returns status: pending_approval and an approvalUrl. Hand the URL
to the user and never open it yourself: approval requires the user’s
own verification on their device. Links expire after 15 minutes.
Then poll GET /api/care-jobs/ until approved, declined, or
expired.
Wherever the action points at a provider’s office, pass BOTH identity
(npi from the pricing routes, or providerName) and location
(city + state, plus facilityName / address / phone when
known). Pass patientId (from GET /api/profile) for a dependent.
Records release, refills, claim disputes, and standing payment grants
are not available yet (JOB_TYPE_NOT_AVAILABLE). Send an
Idempotency-Key header on retries so a lost response never creates
a second job.
curl --request POST \
--url https://mcp.arlohealth.ai/api/care-jobs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"patientId": "<string>",
"params": {},
"context": "<string>",
"cost": {
"amountCents": 123,
"description": "<string>"
},
"idempotencyKey": "<string>"
}
'import requests
url = "https://mcp.arlohealth.ai/api/care-jobs"
payload = {
"patientId": "<string>",
"params": {},
"context": "<string>",
"cost": {
"amountCents": 123,
"description": "<string>"
},
"idempotencyKey": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
patientId: '<string>',
params: {},
context: '<string>',
cost: {amountCents: 123, description: '<string>'},
idempotencyKey: '<string>'
})
};
fetch('https://mcp.arlohealth.ai/api/care-jobs', 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://mcp.arlohealth.ai/api/care-jobs",
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([
'patientId' => '<string>',
'params' => [
],
'context' => '<string>',
'cost' => [
'amountCents' => 123,
'description' => '<string>'
],
'idempotencyKey' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://mcp.arlohealth.ai/api/care-jobs"
payload := strings.NewReader("{\n \"patientId\": \"<string>\",\n \"params\": {},\n \"context\": \"<string>\",\n \"cost\": {\n \"amountCents\": 123,\n \"description\": \"<string>\"\n },\n \"idempotencyKey\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://mcp.arlohealth.ai/api/care-jobs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"patientId\": \"<string>\",\n \"params\": {},\n \"context\": \"<string>\",\n \"cost\": {\n \"amountCents\": 123,\n \"description\": \"<string>\"\n },\n \"idempotencyKey\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mcp.arlohealth.ai/api/care-jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"patientId\": \"<string>\",\n \"params\": {},\n \"context\": \"<string>\",\n \"cost\": {\n \"amountCents\": 123,\n \"description\": \"<string>\"\n },\n \"idempotencyKey\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "pending_approval",
"jobId": "<string>",
"jobType": "<string>",
"tier": "<string>",
"approvalUrl": "<string>",
"expiresAt": 123,
"sheet": {},
"agentInstructions": [
"<string>"
]
}{
"error": "<string>",
"reason": "<string>",
"code": "<string>"
}{
"error": "<string>",
"needsAuth": true
}Authorizations
OAuth 2.1 with PKCE
Headers
Reuse the same key when retrying this exact create; the original result is replayed instead of creating a second job
Body
move_referral, book_appointment, cancel_or_reschedule Which patient on the account this is for (from GET /api/profile). Omit for the default patient.
Action-specific fields. move_referral: specialty, referral {description (required), writtenApprox?, referenceNumber?}, source {providerName?, facilityName?, phone?}, target {npi | providerName, city, state, facilityName?, address?, phone?}, optional appointmentLabel, estimates, savingsCents, openings. book_appointment: provider {npi | providerName, city, state, ...}, specialty?, appointmentLabel?, reason?, estimates?. cancel_or_reschedule: appointmentLabel, provider {...}, newTimeLabel?.
Short plain-language reason, shown on the approval sheet attributed as the agent's note
Only for cost-bearing actions. The sheet collects a manual-capture hold; capture happens on completion.
Show child attributes
Show child attributes
Alternative to the Idempotency-Key header
Response
Request created, awaiting the user's approval
pending_approval Approval tier, assigned server-side
Hand to the user. Never open it yourself. Expires 15 minutes after creation.
What the user will see on the approval sheet
Was this page helpful?