CRM

Send an outbound email via the user's connected Gmail or Outlook

POST
/v1/crm/email/send

Authorization

x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/crm/email/send" \  -H "Content-Type: application/json" \  -d '{    "entityId": "string",    "html": "string",    "subject": "string",    "text": "string",    "to": [      "string"    ]  }'
{
  "provider": "google",
  "result": "sent"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string",
  "limit": 0,
  "size": 0
}
{
  "detail": "string",
  "result": "error",
  "status": 0
}