Get Insurance Card Image Upload Urls

Get presigned upload URLs for uploading insurance card images. This should be used to resolve a blocker of type `INSURANCE_CARD_IMAGES_NEEDED`. <Warning> The upload URLs have a 5 minute expiration time. Generating new upload URLs will not invalidate any previously returned URLs. </Warning> <Tip> Use the returned URLs to upload the insurance card images. For example: ```typescript async function uploadFile(file: File) { const response = await fetch(uploadUrl, { method: "PUT", headers: { "Content-Type": file.type }, body: file, }); if (!response.ok) { ... } } ``` </Tip>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

appointmentTaskIdstringRequired
The ID of the appointment task.
blockerIdstringRequired

The ID of the blocker to get insurance card image upload URLs for. The blocker must be of type INSURANCE_CARD_IMAGES_NEEDED.

Response

This endpoint returns an object.
insuranceCardFrontUploadUrlstring
A presigned upload URL for the insurance card front image. This URL expires after 5 minutes.
insuranceCardBackUploadUrlstring
A presigned upload URL for the insurance card back image. This URL expires after 5 minutes.