upload_attachment
Upload file attachments for provisioned users. Use the returned attachment ID to submit documents for compliance inquiries.
Instructions
Uploads a file attachment for a provisioned user. The attachment ID can then be passed to respond_to_inquiry_entry via all_attachment_id to submit documents for a compliance inquiry. Supported types: image/png, image/jpeg, image/gif, application/pdf. Note: the actual file bytes must be sent as raw binary — provide the file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ID of the provisioned user. | |
| description | Yes | Human-readable description of the file. | |
| content_type | Yes | MIME type of the file. | image/jpeg |
| base64_content | Yes | Base64-encoded file content. |