Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Link CRM email reference

POST/v1/crm/object-types/{objectKind}/records/{objectID}/emails
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Path parameters
objectKindstringrequired
objectIDstringrequired
Request body
requiredapplication/json
conversation_idstring
directionstring
message_idstring
occurred_atstring
snippetstring
subjectstring
Responses
200OK
conversation_idstring
created_atstringrequired
directionstringrequired
idstringrequired
linked_bystring
message_idstring
object_idstringrequired
object_kindstringrequired
occurred_atstring
snippetstringrequired
subjectstringrequired
updated_atstringrequired
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X POST "/v1/crm/object-types/string/records/string/emails" \
  -H "Content-Type: application/json" \
  -d '{
  "conversation_id": "string",
  "direction": "string",
  "message_id": "string",
  "occurred_at": "string",
  "snippet": "string",
  "subject": "string"
}'
Response
{
  "conversation_id": "string",
  "created_at": "string",
  "direction": "string",
  "id": "string",
  "linked_by": "string",
  "message_id": "string",
  "object_id": "string",
  "object_kind": "string",
  "occurred_at": "string",
  "snippet": "string",
  "subject": "string",
  "updated_at": "string"
}