Skip to main content
POST
Add activity

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Path Parameters

leadId
integer<int64>
required

Body

application/json
type
string
required

Specifies the type of activity being logged for the lead.

Accepted Values:

  • Search: When the lead performs a search operation (e.g., filtering by property type like Single Family Home)
  • Browse: When the lead views a property detail page
  • Favorite: When the lead saves a property to favorites
  • Request: When the lead submits a showing request for a property
  • Submission: When the lead submits a form on website
Example:

"Search"

text
string
required

Search Text

Example:

"Search"

Url for web page

Example:

"https://lofty.com"

picture
string
required

Preview picture url

Example:

"https://lofty.com/default.jpg"

created
integer<int64>
required

created time in milliseconds

Example:

1747272300000

listing
object

Lead property or mailing address details

scheduledDate
string

Scheduled date about this showing request

pageName
string

The page name of the lead's submission(re-inquiry) page

Example:

"Blog Registration"

Response

200 - application/json

Successful operation.

Response containing the lead ID.

leadId
integer<int64>

ID of the lead.

Example:

651095960136641