Skip to content

Create message

POST
/api/events/messages/{event_id}

Create a message for an event.

Parameters

Path Parameters

event_id*

Id of the event.

Type
integer
Required
Example1

Request Body

application/json
JSON
{
  
"message": "Message for the event",
  
"is_author_visible": true
}

Responses

Event's messages.

application/json
JSON
{
  
"id": 12,
  
"message": "A message for an event.",
  
"author": "AUTHOR",
  
"is_author_visible": true,
  
"eventId": 3,
  
"createdAt": "2020-01-29T18:10:16.630Z",
  
"updatedAt": "2020-01-30T22:42:14.789Z"
}

Playground

Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI