Document Message
Send Messages (Via Id)
Document Message
Send a document message to a specific contact within a workspace.
POST
Document Message
This endpoint allows you to send an document message to a contact. You can provide the document in two ways:
- Document URL: Pass the document URL in the request body.
- Uploaded File: Send the document as a file using
multipart/form-data.
File Field Requirements
- file:
- Required
- Allowed MIME types:
txt,docx,ppt,pptx,xls,xlsx,doc,pdf - Maximum size: 100 MB (
max:102400KB)
Request Options
-
Document URL Example (JSON):
-
Uploaded File Example (multipart/form-data):
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the workspace.
ID of the contact.
Body
application/json
Message sending parameters.