Activities
Delete an activity
Permanently deletes an activity. This action cannot be undone.
Authorization
apiKey AuthorizationBearer <token>
API key from your nodestash dashboard. Pass as a Bearer token in the Authorization header.
In: header
Path Parameters
id*string
Activity ID (prefixed with act_).
Match
^act_Response Body
application/json
application/json
application/json
curl -X DELETE "https://api.nodestash.io/v1/activities/act_5hJ3kM9pQrVwXyZaB2cD4"Empty
{
"error": {
"code": "INVALID_API_KEY",
"message": "Missing or invalid Authorization header"
},
"meta": {
"request_id": "req_abc123def456"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "Contact not found"
},
"meta": {
"request_id": "req_abc123def456"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded"
},
"meta": {
"request_id": "req_abc123def456"
}
}Create a new activity
Creates a new activity in the authenticated workspace. The `type` field is required. Activities can optionally be linked to a contact, company, or deal. If `contact_id`, `company_id`, or `deal_id` is provided, the referenced resource must exist in the workspace.
Get an activity
Retrieves a single activity by ID.