Skip to main content
POST
Act on activity

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Path Parameters

sid
string
required

The event (cr_ac_…).

Required string length: 18
Pattern: ^cr_ac_

Body

application/json

Request body of act_on_activity.

do
enum<string>
required

like or comment: on a post event only (linkedin_post_published), at that post; send_message: a LinkedIn message to the person of any event.

Available options:
like,
comment,
send_message
sender_profile_sid
string | null

Who acts; absent = the one a play would pick (play_acts.acts_as of the row).

Required string length: 18
Pattern: ^ub_sp_
text
string | null

The words of a comment (1250 at most) or a message (8000 at most); required for those two.

Maximum string length: 8000
reaction
enum<string> | null

A Like's kind, one of the network's six; like when absent.

Available options:
like,
celebrate,
support,
love,
insightful,
funny

Response

action success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
action
action
string
required

kebab-case verb; matches the route segment.

item
object | null
required

The WorkflowTaskDomain row the act bore (wf_tk_…, initiator user), or the one already on its way.

result
object
required
meta
object
required