Complete onboarding
curl --request POST \
--url https://mcp.arlohealth.ai/api/profile/complete-onboarding \
--header 'Authorization: Bearer <token>'import requests
url = "https://mcp.arlohealth.ai/api/profile/complete-onboarding"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://mcp.arlohealth.ai/api/profile/complete-onboarding', 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/profile/complete-onboarding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mcp.arlohealth.ai/api/profile/complete-onboarding"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/profile/complete-onboarding")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mcp.arlohealth.ai/api/profile/complete-onboarding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"onboardingComplete": true,
"status": "ONBOARDED",
"billingMode": "NONE",
"paymentStatus": "PENDING",
"nextStep": "ready"
}{
"error": "<string>",
"reason": "<string>",
"code": "<string>"
}{
"error": "<string>",
"needsAuth": true
}Profile
Complete Onboarding
Complete onboarding (account status becomes ONBOARDED) once the required profile fields are saved. Terms of Service / Privacy Policy acceptance is recorded when the user signs in, so this is not a consent step and the user must not be asked to agree again.
All required profile fields (firstName, lastName, birthDate, gender, country, state, and phone) must already be saved via PATCH /api/profile/patient, otherwise this returns an onboardingIncomplete error listing the missing fields. /api/profile/accept-terms is the legacy path for the same action and remains available as an alias.
POST
/
api
/
profile
/
complete-onboarding
Complete onboarding
curl --request POST \
--url https://mcp.arlohealth.ai/api/profile/complete-onboarding \
--header 'Authorization: Bearer <token>'import requests
url = "https://mcp.arlohealth.ai/api/profile/complete-onboarding"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://mcp.arlohealth.ai/api/profile/complete-onboarding', 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/profile/complete-onboarding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mcp.arlohealth.ai/api/profile/complete-onboarding"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/profile/complete-onboarding")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mcp.arlohealth.ai/api/profile/complete-onboarding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"onboardingComplete": true,
"status": "ONBOARDED",
"billingMode": "NONE",
"paymentStatus": "PENDING",
"nextStep": "ready"
}{
"error": "<string>",
"reason": "<string>",
"code": "<string>"
}{
"error": "<string>",
"needsAuth": true
}Authorizations
OAuth 2.1 with PKCE
Response
Onboarding complete
Available options:
ONBOARDED Available options:
NONE, PAY_AS_YOU_GO, SUBSCRIPTION, LEGACY Available options:
PENDING, ACTIVE, FAILED, CANCELLED, ACTIVE_UNTIL_EXPIRY Always ready. Onboarding completes without payment; each visit is approved on a Stripe page at booking
Available options:
ready Was this page helpful?