Skip to main content
POST
Create a company activity

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
activity
Activity · object | null

Response

Created

An activity created through the company API, returned as stored.

id
integer

Activity ID.

user_id
integer

User whose feed received the activity.

company_id
integer | null
contact_id
integer | null
visitor_id
integer | null
title
string | null
description
string | null
slug
string | null

Always imported for activities created through this endpoint.

relation_type
string | null

Contact when the activity is linked to a contact, otherwise null.

relation_id
integer | null

ID of the linked contact, otherwise null.

read_at
string<date-time> | null
notification_sent
boolean | null

Whether a push notification has been sent for the activity.

payload
object | null
uuid_v7
string<uuid>
created_at
string<date-time>
updated_at
string<date-time>