Skip to main content
PATCH
/
v1
/
person-activities
/
{id}
Update person activity by ID
curl --request PATCH \
  --url https://api.stardex.ai/v1/person-activities/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "activity_content": "This is plain text content",
  "content_type": "text"
}
'
{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "updated_at": "2024-03-15T12:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

Authenticate with a Bearer token: API key, OAuth token, or session token.

Path Parameters

id
string
required

Person activity ID

Body

application/json
activity_content
string
required

New content for the activity. Format depends on content_type.

Example:

"This is plain text content"

content_type
enum<string>
default:text

Format of activity_content. "text" for plain text (auto-converted to HTML), "html" for raw HTML.

Available options:
text,
html
Example:

"text"

Response

Activity updated

error
string | null
required
data
object
required
success
enum<boolean>
required
Available options:
true