nodestash
Activities

Get an activity

Retrieves a single activity by ID.

GET
/activities/{id}
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

application/json

curl -X GET "https://api.nodestash.io/v1/activities/act_5hJ3kM9pQrVwXyZaB2cD4"
{
  "data": {
    "id": "act_5hJ3kM9pQrVwXyZaB2cD4",
    "type": "activity",
    "attributes": {
      "id": "act_5hJ3kM9pQrVwXyZaB2cD4",
      "type": "task",
      "subject": "Follow up on proposal",
      "body": "Discuss pricing and timeline with the client",
      "contact_id": "ct_5hJ3kM9pQrVwXyZaB2cD4",
      "company_id": "co_7rT4mK9pQsVwXyZaB2cD4",
      "deal_id": "dl_3xK8nM2qTsYvAzCeB2cD4",
      "owner_id": null,
      "is_done": false,
      "due_date": "2026-03-01T09:00:00Z",
      "completed_at": null,
      "metadata": {
        "priority": "high"
      },
      "tags": [
        "follow-up",
        "important"
      ],
      "created_at": "2026-02-15T10:00:00Z",
      "updated_at": "2026-02-15T10:00:00Z"
    }
  },
  "meta": {
    "request_id": "req_abc123def456"
  }
}
{
  "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"
  }
}