MedPoint Management
Download authorization attachment
Download verified authorization attachment PDF.
POSThttps://api.ontross.com/api/integrations/medpoint/download-authorization-attachment
Request Fields
input.ipa_key
string
requiredIPA option value from fetch-portal-context; selects the session scope.
Example
"EXAMPLE"input.member_id
string
requiredExact insurance member ID.
Example
"00000001A"input.date_of_birth
string
requiredExpected member birth date.
Example
"1980-01-02"input.member_key
string
requiredMedPoint member_key returned by search-members; distinct from the insurance member ID.
Example
"11111111-1111-4111-8111-111111111111"input.authorization_number
string
requiredExact numeric authorization reference from MedPoint authorization history.
Example
"202601010000000001"input.file_id
integer
requiredExact signed attachment ID from authorization details.
Example
101input.source
string
requiredCaptured attachment source. Other source download contracts are not verified.
Example
"GSI_AUTH"Accepted values
GSI_AUTHauth_id
string
requiredSaved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"Output Fields
filename
string
Safe suggested filename for the original attachment bytes.
Example
"medpoint-authorization-attachment.pdf"mime_type
string
Standard media designation for the returned PDF document.
Example
"application/pdf"content_base64
string
PDF bytes for this caller; excluded from persisted Audit Run output.
size_bytes
integer
Length of the decoded PDF document in bytes.
Example
362retrieved_at
string
Retrieval time, not a guarantee of real-time coverage.
Example
"2026-11-17T14:30:00Z"authorization_number
string
Verified authorization reference for the downloaded attachment.
Example
"202601010000000001"attachment
object
Reference verified before and after downloading the attachment.
attachment.file_id
integer
Opaque signed attachment reference; bytes are not downloaded.
Example
101attachment.filename
string
Attachment title supplied by the portal.
Example
"example-referral.pdf"attachment.source
string
Portal attachment source token, preserved for a future verified download operation.
Example
"AUTH"attachment.uploaded_date
string
Attachment upload date when supplied.
Example
"2026-01-02"Code
curl --request POST \
--url https://api.ontross.com/api/integrations/medpoint/download-authorization-attachment \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"ipa_key":"EXAMPLE","member_id":"00000001A","date_of_birth":"1980-01-02","member_key":"11111111-1111-4111-8111-111111111111","authorization_number":"202601010000000001","file_id":101,"source":"GSI_AUTH"},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"ipa_key": "EXAMPLE",
"member_id": "00000001A",
"date_of_birth": "1980-01-02",
"member_key": "11111111-1111-4111-8111-111111111111",
"authorization_number": "202601010000000001",
"file_id": 101,
"source": "GSI_AUTH"
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"filename": "medpoint-authorization-attachment.pdf",
"mime_type": "application/pdf",
"content_base64": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8ID4+ID4+CmVuZG9iagp4cmVmCjAgNAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTE1IDAwMDAwIG4gCnRyYWlsZXIKPDwgL1NpemUgNCAvUm9vdCAxIDAgUiA+PgpzdGFydHhyZWYKMjE5CiUlRU9GCg==",
"size_bytes": 362,
"retrieved_at": "2026-11-17T14:30:00Z",
"authorization_number": "202601010000000001",
"attachment": {
"file_id": 101,
"filename": "example-referral.pdf",
"source": "AUTH",
"uploaded_date": "2026-01-02"
}
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}