Skip to main content
POST
/
v1
/
company-activities
Create company activity (note)
curl --request POST \
  --url https://api.stardex.ai/v1/company-activities \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "organization_company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "activity_type": "<string>",
  "activity_content": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "901e2345-e67f-89ab-cdef-456789012345",
    "organization_company_id": "123e4567-e89b-12d3-a456-426614174000",
    "activity_type": "meeting_note"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
organization_company_id
string<uuid>
required

Company UUID to attach the activity to. Get from POST /v1/companies/search or GET /v1/companies/{id}.

activity_type
string
required

Activity type key registered for the team. Must match an entry from GET /v1/company-activities/types (e.g. secondary_note, call_note, meeting_note, email, plus any custom types defined under Settings → Activity Types).

Minimum string length: 1
activity_content
string
required

Activity body. Plain text or HTML — HTML is auto-detected and stored alongside the plain-text mirror.

Response

Company activity created

success
enum<boolean>
required
Available options:
true
data
object
required