Create event for a lead
Create a lead event for an integration.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
integration_id
lead_id
The Propexo unique identifier for the lead
event_type_id
The Propexo unique identifier for the event type
event_result_id
The Propexo unique identifier for the event result
event_sub_type_id
The Propexo unique identifier for the event sub type
employee_id
The Propexo unique identifier for the employee
unit_id
The Propexo unique identifier for the unit. Only some PMS events use this, including "Show" and "Appointment"
event_datetime
The date when the event will occur
reasons_for_event
The reasons for the event
notes
Notes associated with the event
appointment_datetime
The date when the appointment will occur
time_from
time_to
title
The title associated with the event
call_phone_number_from
The phone number that the call was made from. Required for call event types.
call_phone_number_to
The phone number that the call was received on. Required for call event types.
call_status
The status of the call. Required for call event types.
call_duration
The duration of the call in seconds. Required for call event types.
call_audio_link
The URL of the audio file for the call. This can be any valid URL and doesn't necessarily need to link to a audio file. Required for call event types.
email_body
The body of the email.
email_subject
The subject of the email.
email_from
The email address that the email was sent from. Required for email outgoing event types.
email_to
The email address that the email was sent to. If specified, this must be the same email address as the lead's primary email address
email_cc
The carbon copy email address that the email was sent to.
email_bcc
The blind carbon copy email address that the email was sent to.
email_send
Whether the email should be sent.
status
The status associated with the event
Allowed values:
event_name
The name or type of event
lead_source_id
The Propexo unique identifier for the lead source
agent_name
The name of the leasing agent associated with the event
Response
Successful response
job_id
The ID of the job created to handle this operation
data