Quote Requests may include relevant documentation as attachments. You can retrieve these attachment by ID via this authenticated API endpoint.
This endpoint requires an access_token from the authentication endpoint in the same environment. Include it as a bearer token in an Authorization header for the request.
The URL corresponds to the
id of the attachment from the webhook payload and
will depend on the event that the partner receives. The partner can take the id
from either the
event to download the file.
This endpoint returns the attachment.
curl --request GET \
--header 'authorization: Bearer CKM6LKm965bghfSSPESbac39' \
< HTTP/2 200
< date: Fri, 17 Jul 2020 13:55:49 GMT
< content-type: application/pdf
content-type is shown as pdf in the example response, but it is a
dynamic value which could represent other file types.