Contacts
Upload contact file
Upload a file to a contact.
post/orgs/contacts/{contact_id}/files
Request
- Base URL: https://api.useinvent.com
- URL: https://api.useinvent.com/orgs/contacts/{contact_id}/files
- Auth: HTTP bearer
Path parameters
contact_idstring required
Contact ID
Request body
Example request
{
"file": {
"data": "SGVsbG8sIHdvcmxkIQ==",
"type": "application/pdf",
"name": "document.pdf",
"encoding": "base64"
},
"file_url": "https://example.com/files/document.pdf"
}Response
Example response
{
"file_filename": "document.pdf",
"file_size": 1024,
"file_mimetype": "application/pdf"
}Changes
No recorded changes to this operation across all 1 revision of this API.