curl "https://api.tracklysms.com/api/v2/business-profiles/664a1b2c3d4e5f6071829300/documents/9f2c4a1e7b8d4c3fa1e9d84f2b6c7d10" \
-H "X-Api-Key: trk_your_api_key_here" \
-o ein.pdf
Business Verification (v2)
Download Supporting Document
Download a supporting document’s raw bytes.
GET
/
v2
/
business-profiles
/
{profile_id}
/
documents
/
{doc_id}
curl "https://api.tracklysms.com/api/v2/business-profiles/664a1b2c3d4e5f6071829300/documents/9f2c4a1e7b8d4c3fa1e9d84f2b6c7d10" \
-H "X-Api-Key: trk_your_api_key_here" \
-o ein.pdf
Streams the raw bytes of a supporting document with its stored
Content-Type and a Content-Disposition attachment header. Authenticated via your API key — no separate signed URL needed.
Path Parameters
string
required
The business profile’s id.
string
required
The document’s id (from List Documents).
Examples
curl "https://api.tracklysms.com/api/v2/business-profiles/664a1b2c3d4e5f6071829300/documents/9f2c4a1e7b8d4c3fa1e9d84f2b6c7d10" \
-H "X-Api-Key: trk_your_api_key_here" \
-o ein.pdf
Error Codes
| HTTP Status | Error Code | Description |
|---|---|---|
| 404 | not_found / document_not_found | No such profile or document on your account. |
| 503 | document_unavailable | The document could not be retrieved; retry. |