hires_download_attachment
Download resumes, applications, mail attachments, or call recordings from 100Hires by supplying the absolute URL from another endpoint. Returns file metadata and base64-encoded content.
Instructions
Download an attachment (resume, candidate file, application file, mail attachment, call recording). Pass the absolute URL returned by another endpoint (e.g. message.attachments[].url, cv.url, resume.url) — it MUST belong to the configured 100Hires API host; other hosts are rejected to avoid leaking the Bearer token. Returns {file_name, mime_type, size, data} where data is base64-encoded bytes. Files larger than 25 MB are rejected up-front (Content-Length check / streaming abort) without being loaded into memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute attachment URL returned by another API response (e.g. https://api.100hires.com/v2/attachments/mail_attachment/<uuid>/<file_name>). Must match the API host. |