Welcome to the Contact API tutorials section! Here, you will find detailed guides on how to use the Contact API to send and receive messages within our system.

Basic Usage

To send a message using the Contact API, you need to follow these steps:

  1. Prepare the message payload with the necessary information.
  2. Make a POST request to the /api/contact/send endpoint.
  3. Check the response to ensure the message was sent successfully.

Payload Example

{
  "to": "recipient@example.com",
  "subject": "Meeting Request",
  "body": "Dear [Name], could we schedule a meeting?"
}

Response Example

{
  "success": true,
  "message": "Message sent successfully."
}

Error Handling

If there is an error during the request, the API will return an error message. Here are some common errors and their meanings:

  • 401 Unauthorized: The request was not authenticated.
  • 403 Forbidden: The request was authenticated, but the user does not have permission to perform the action.
  • 404 Not Found: The requested resource could not be found.

More Information

For more detailed information on the Contact API, please visit our API Documentation.


If you have any further questions or need assistance, don't hesitate to reach out to our support team.

Contact Us:

Contact Support