AddMessage

POST /chats/{chatId}

Add a message to a chat

Path parameters

  • chatId string Required
application/json

Body

  • message string Required

Responses

  • 201

    Created

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

  • 500

    Internal Server Error

POST /chats/{chatId}
curl \
 --request POST 'https://garden-to-yours.herokuapp.com/chats/{chatId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"message":"string"}'
Request examples
{
  "message": "string"
}