List prescriptions
curl --request GET \
--url https://vitarelay.com/api/public/v1/prescriptions \
--header 'Authorization: Bearer <token>'import requests
url = "https://vitarelay.com/api/public/v1/prescriptions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://vitarelay.com/api/public/v1/prescriptions', 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://vitarelay.com/api/public/v1/prescriptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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://vitarelay.com/api/public/v1/prescriptions"
req, _ := http.NewRequest("GET", 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.get("https://vitarelay.com/api/public/v1/prescriptions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vitarelay.com/api/public/v1/prescriptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "d5e6f7a8-9b0c-1d2e-3f4a-5b6c7d8e9f0a",
"patient_id": "3f0b1c2a-8f4e-4a9b-9c1d-2e5f7a8b9c0d",
"provider_org_id": "c6555c75-1111-2222-3333-444455556666",
"order_id": "c4d5e6f7-8a9b-0c1d-2e3f-4a5b6c7d8e9f",
"product_name": "Semaglutide",
"dosage": "0.25 mg weekly",
"frequency": "weekly",
"quantity": 1,
"refills_authorized": 2,
"status": "active",
"expires_at": "2027-08-12T00:00:00Z",
"created_at": "2026-08-12T14:12:00Z",
"updated_at": "2026-08-12T14:12:00Z"
}
],
"next_cursor": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}Prescriptions
List prescriptions
GET
/
prescriptions
List prescriptions
curl --request GET \
--url https://vitarelay.com/api/public/v1/prescriptions \
--header 'Authorization: Bearer <token>'import requests
url = "https://vitarelay.com/api/public/v1/prescriptions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://vitarelay.com/api/public/v1/prescriptions', 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://vitarelay.com/api/public/v1/prescriptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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://vitarelay.com/api/public/v1/prescriptions"
req, _ := http.NewRequest("GET", 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.get("https://vitarelay.com/api/public/v1/prescriptions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vitarelay.com/api/public/v1/prescriptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "d5e6f7a8-9b0c-1d2e-3f4a-5b6c7d8e9f0a",
"patient_id": "3f0b1c2a-8f4e-4a9b-9c1d-2e5f7a8b9c0d",
"provider_org_id": "c6555c75-1111-2222-3333-444455556666",
"order_id": "c4d5e6f7-8a9b-0c1d-2e3f-4a5b6c7d8e9f",
"product_name": "Semaglutide",
"dosage": "0.25 mg weekly",
"frequency": "weekly",
"quantity": 1,
"refills_authorized": 2,
"status": "active",
"expires_at": "2027-08-12T00:00:00Z",
"created_at": "2026-08-12T14:12:00Z",
"updated_at": "2026-08-12T14:12:00Z"
}
],
"next_cursor": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}{
"error": {
"code": "validation_failed",
"message": "One or more fields are invalid"
}
}Authorizations
API key issued by VitaRelay. Send as Authorization: Bearer vr_live_…
(production) or Authorization: Bearer vr_test_… (sandbox).
Query Parameters
Page size. Default 50, maximum 100.
Required range:
1 <= x <= 100The next_cursor value returned by the previous page.

