Send a chat message

Causes the bot to send a chat message in the meeting.

Path Parameters
  • object_id
    Type: string
    required

    Bot ID

Headers
  • Authorization
    Type: string
    required

    API key for authentication

  • Content-Type
    Type: string
    required

    Should always be application/json

Body
required
application/json
  • message
    Type: string
    min length:  
    1
    required

    The message text to send. Does not support emojis currently. For Microsoft Teams, you can use basic HTML tags to format the message including

    ,
    , , , and .

  • to
    Type: string · ToEnumenum
    • everyone - everyone
    • specific_user - specific_user
    • everyone_but_host - everyone_but_host
    values
    • everyone
    • specific_user
    • everyone_but_host
  • to_user_uuid
    Type: string | null
    max length:  
    255

    The UUID of the user to send the message to. Required if 'to' is 'specific_user'.

Responses
  • 200

    Chat message request created successfully

  • 400

    Invalid input

  • 404

    Bot not found

Request Example for post/api/v1/bots/{object_id}/send_chat_message
curl https://app.attendee.dev/api/v1/bots/bot_xxxxxxxxxxx/send_chat_message \
  --request POST \
  --header 'Authorization: Token YOUR_API_KEY_HERE' \
  --header 'Content-Type: application/json' \
  --data '{
  "to": "everyone",
  "message": "Hello everyone, I'\''m here to record and summarize this meeting."
}'
No Body