POST /platform/chatrooms/{id}/message-pdf

Path parameters

  • id integer Required

    The chatroom id

application/x-www-form-urlencoded

Body Required

  • pdf string(binary)

    The PDF file

Responses

  • 400

    Bad Request - The pdf cannot be uploaded

  • 403

    Forbidden - You don't have permission to access this route

POST /platform/chatrooms/{id}/message-pdf
curl \
 --request POST 'https://domain.tld/api/v2/platform/chatrooms/{id}/message-pdf' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'pdf=%40file'