This is the documentation for the Messages API, which provides endpoints for managing messages.
- Endpoint:
GET /messages/count - Description: Get the count of messages.
- Endpoint:
POST /message/create - Description: Create a new message.
- Request Body Example:
{ "name": "John Doe", "cellphone": "123456789", "text": "Hello!", "message": "Important message content" } - Response Example:
{ "_message": "Message created successfully" }
- Endpoint:
GET /messages/:cellphone/:from - Description: Get messages based on cellphone and from.
- Endpoint:
POST /messages/:cellphone/:from/reset - Description: Reset messages based on cellphone and from.