Skip to content

Create New Message

Endpoint used to create a new message with attachments in a conversation.

Terminal window
curl --request POST \
--url 'https://chat.toolzz.ai/api/v1/accounts/{account_id}/conversations/{conversation_id}/attachments' \
--header 'Authorization: Bearer <token>'

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes
ParameterTypeDescriptionRequired
account_idstringThe ID of the account.Yes
conversation_idstringThe ID of the conversation.Yes

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.