**Endpoint: ** `/external/api/chains/message`
**Method: ** `POST`
**Description: ** This endpoint allows users to send a message to a specified chain through the BotConnect API.
**Request Body: **
```json
{
"chain": "chainName",
"message": "query message",
"user": {
"username": "username",
"displayName": "DisplayName",
"email": "user@hcl.com"
},
"source": "web"
}
```
The following are the terms used with the chains API:
-
Chain: The name of the chain to which the
message will be sent.
-
Message: The query message to be sent to the
chain.
-
User: Information about the user sending the
message.
-
Username: The username of the user.
-
DisplayName: The display name of the
user.
-
Email: The email address of the user.
-
Source: The source from which the message is
being sent (e.g., "web").