Get a prescription request
const url = 'https://client-api.abi.ai/prescription/8910zyx321cba';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://client-api.abi.ai/prescription/8910zyx321cba \ --header 'Authorization: Bearer <token>'Retrieve a specific form-based prescription request by its consultation identifier. A 404 is returned when the request does not exist for the authenticated partner.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The prescription request’s consultation identifier.
Example
8910zyx321cbaResponses
Section titled “Responses”Form-based prescription request returned, including its current status and any available professional response or prescription file.
Current state and available artifacts for a prescription request.
object
Identifier for the consultation behind the prescription request.
Abi user identifier.
Current prescription workflow status returned by the consultation service.
object
The question submitted by the user.
The response provided by the healthcare professional
Images or documents provided through the approved journey.
Information about the professional who resolved a consultation, when available.
object
object
Time this question was recorded.
object
Short-lived URL of the prescription file
Configured prescription integration.
Detailed prescription data returned when available.
object
Latest professional claim
object
Information about the professional who resolved a consultation, when available.
object
object
Short-lived URL for the completed indication survey.
Whether a healthcare professional refused the request.
User rating
A consultation document that is available to retrieve.
object
Short-lived download URL when the file is ready.
Payment information returned for consultations that require a user payment.
object
Whether payment is required before the consultation can proceed.
Payment URL when payment is required.
Price of the consultation
ISO 4217 currency code
Sick notes issued for this prescription request
object
Referrals issued for this prescription request
object
Example
{ "consultationId": "8910zyx321cba", "status": "resolved", "userId": "abi12345", "createdAt": "2025-08-28T10:12:30.000Z", "isRefused": false, "prescription": { "pdfUrl": "https://clientdomain.example/prescriptions/8910zyx321cba.pdf", "medication": "Example medication", "quantity": "30", "frequency": "Once daily", "duration": "30 days", "instructions": "Take with food." }, "indicationSurveyUrl": "https://clientdomain.example/surveys/8910zyx321cba", "questions": [ { "question": "I need help renewing my prescription.", "answer": "Your prescription has been approved.", "attachments": [] } ]}Request could not be completed.
object
Short machine-readable error code.
Human-readable explanation of the error.
Examplegenerated
{ "code": "example", "message": "example"}