Skip to main content
POST
Create HubSpot Timeline Event

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
object_type
enum<string>
required
Available options:
company,
contact,
deal,
ticket
target_object_id
string
default:{{company_id}}
required

ID of the object to add the timeline event to.

event_type
string
default:deployment_completed
required

Unique identifier for this type of event (e.g., 'subscription_upgraded').

event_title
string
default:Production Deployment Completed
required

Title displayed in the HubSpot timeline.

output_variable_name
string
default:timeline_event
required

Variable name to store the created timeline event.

event_description
string
default:Detailed description of what happened...

Detailed description of the event.

event_properties
string

Additional properties as JSON or key=value pairs, one per line. Example: {"property":"value"} or property=value

event_timestamp
string

When this event occurred (defaults to now). Format: mm/dd/yyyy, --:-- --

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action