Create an upload URL for a contact attachment

Step 1 of the upload. Declares the file and returns a presigned S3 POST valid for expires_in seconds. The declared size is checked against the account's per-file limit and remaining storage quota, and S3 refuses a larger file. Accepted extensions: pdf, doc, docx, xls, xlsx, ppt, pptx, txt, csv, jpg, jpeg, png, gif, zip, rar, mp4, avi, mp3, wav. SVG is not accepted through the API.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

UUID

Body Params
string
required
length ≤ 255
string
required

MIME type of the file. Must match the extension of file_name.

integer
required
≥ 1

File size in bytes.

Headers
string
required

API Token

Responses

INVALID_FILE_NAME, UNSUPPORTED_FILE_TYPE, CONTENT_TYPE_MISMATCH, INVALID_FILE_SIZE.

contacts:write scope.

QUOTA_FILE_TOO_LARGE, QUOTA_STORAGE_EXCEEDED.

UPLOAD_URL_UNAVAILABLE.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json