cURL
curl --request PATCH \ --url https://api.stardex.ai/v1/person-activities/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "activity_content": "<string>", "content_type": "text" } '
{ "success": true, "data": { "id": "123e4567-e89b-12d3-a456-426614174000", "updated_at": "2024-03-15T12:00:00Z" } }
Update the content of an existing person activity. Set content_type to "text" for plain text (auto-converted to HTML) or "html" for raw HTML input.
content_type
"text"
"html"
Authenticate with a Bearer token: API key, OAuth token, or session token.
Person activity ID
New content for the activity. Format depends on content_type.
Format of activity_content. "text" for plain text (auto-converted to HTML), "html" for raw HTML.
text
html
Activity updated
true
Show child attributes
Was this page helpful?