curl --request POST \
--url 'https://api.stateset.com/api/v1/activity-logs' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"action": "string",
"actor": null,
"actor_kind": null,
"metadata": {},
"subject_id": "string",
"subject_type": "string",
"summary": "string"
}'
{
"action": "string",
"actor": null,
"actor_kind": "string",
"created_at": "string",
"id": "string",
"metadata": {},
"subject_id": "string",
"subject_type": "string",
"summary": "string"
}
Record
POST
/
api
/
v1
/
activity-logs
curl --request POST \
--url 'https://api.stateset.com/api/v1/activity-logs' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"action": "string",
"actor": null,
"actor_kind": null,
"metadata": {},
"subject_id": "string",
"subject_type": "string",
"summary": "string"
}'
{
"action": "string",
"actor": null,
"actor_kind": "string",
"created_at": "string",
"id": "string",
"metadata": {},
"subject_id": "string",
"subject_type": "string",
"summary": "string"
}
Request body
RecordActivityRequest
string
required
string,null
string,null
One of
user, system, integration, agent.object
string
required
string
required
string
required
Responses
ActivityLogResponse
ErrorBody
curl --request POST \
--url 'https://api.stateset.com/api/v1/activity-logs' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"action": "string",
"actor": null,
"actor_kind": null,
"metadata": {},
"subject_id": "string",
"subject_type": "string",
"summary": "string"
}'
{
"action": "string",
"actor": null,
"actor_kind": "string",
"created_at": "string",
"id": "string",
"metadata": {},
"subject_id": "string",
"subject_type": "string",
"summary": "string"
}
⌘I