mailThis imports an e-mail into the logbook section of the specified lead.

This imports an e-mail into the logbook section of the specified lead.

curl -X POST "https://api.example.com/restapi/v1/mail/crmlead/123" \
  -H "Content-Type: application/json" \
  -d '{
  "subject": "example_string",
  "mailBody": "example_string",
  "cid": 123,
  "mailFrom": "example_string",
  "mailTo": "example_string"
}'
[
  {
    "leadId": 123,
    "taskNr": "example_string",
    "taskId": 123
  }
]
POST
/mail/crmlead/{leadid}
POST
Base URLstring

Target server for requests. Edit to use your own host.

path
leadidinteger
Required

ID of the lead into which the mail gets imported.

Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Path Parameters

leadidinteger
Required

ID of the lead into which the mail gets imported.

Responses

leadIdinteger
taskNrstring
taskIdinteger