PUT
/
v0
/
person-activities
/
{id}
curl --request PUT \
  --url https://api.stardex.ai/v0/person-activities/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "activity_content": "This is a simple text update",
  "content_type": "text"
}'
{
  "error": null,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "updated_at": "2024-03-15T12:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your_api_key_here

Path Parameters

id
string
required

The unique identifier of the activity to update

Body

application/json
activity_content
string
required

Content to update the activity with. Can be plain text or HTML depending on content_type

Example:

"This is plain text content"

content_type
enum<string>
default:text

Specifies the format of the provided content. Use "text" for plain text or "html" for HTML formatted content

Available options:
text,
html
Example:

"text"

Response

200
application/json
Activity successfully updated
error
string | null
required
data
object | null
required