REST API V3 / Emails / Send
URL
POST /wp-json/gh/v3/emails/send
Method
This endpoint supports the  POST method.
Request
This endpoint provides functionality to send email to the contact.
| PARAM | TYPE | REQUIRED | DESCRIPTION | 
id_or_email | 
   string/int | yes | The ID or email address of the user whom you want to send an    | 
  
email_id | 
   int | yes | The ID of email which you want to send to the contact. | 
by_user_id | 
   bool | no | Fetches the contact using user id. | 
Example
Here is an example of URI which sends emails to the contact.
http://yoursite.com/wp-json/gh/v3/emails/send?id_or_email=2&email_id=1
Response
This request send emails to contact and you will receive a 200 OK response with the success message. An example response is below.
{
    "code": "success",
    "message": "Email sent successfully to contact."
}