Skip to main content
POST
Draft for 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 draft_for_activity.

do
enum<string>
required

comment: on a post event only; send_message: a message to the person of any event.

Available options:
comment,
send_message
sender_profile_sid
string | null

Checked to be one that can act; the words do not depend on it.

Required string length: 18
Pattern: ^ub_sp_

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
any
required
result
object
required
meta
object
required