Skip to main content
POST
/
api
/
v2
/
activity
/
_query
Query the activity timeline (scoped, cursor-paginated)
curl --request POST \
  --url https://api.example.com/api/v2/activity/_query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "opportunity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_from": "2023-11-07T05:31:56Z",
  "created_to": "2023-11-07T05:31:56Z",
  "cursor": "<string>",
  "limit": 50
}
'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "attributes": {
        "type": {
          "value": "<string>",
          "value_type": "enum"
        },
        "sub_type": {
          "value": "<string>",
          "value_type": "enum"
        },
        "status": {
          "value": "<string>",
          "value_type": "enum"
        },
        "priority": {
          "value": "<string>",
          "value_type": "enum"
        },
        "display_name": {
          "value": "<string>",
          "value_type": "string"
        },
        "owner_user_id": {
          "value": {
            "related_record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "related_record_type": "<string>"
          },
          "value_type": "record_reference"
        },
        "ended_at": {
          "value": "2023-11-07T05:31:56Z",
          "value_type": "timestamp"
        },
        "badge_status": {
          "value": "<string>",
          "value_type": "string"
        },
        "location": {
          "value": "<string>",
          "value_type": "string"
        }
      },
      "record_type": "activity",
      "metadata": {
        "title": "<string>",
        "kind": "meeting",
        "location": "<string>",
        "start_date": "2023-11-07T05:31:56Z",
        "end_date": "2023-11-07T05:31:56Z",
        "status": "<string>",
        "meeting_type": "<string>",
        "participants": [
          {
            "name": "<string>",
            "email": "<string>",
            "is_host": true,
            "rsvp_status": "<string>",
            "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
          }
        ]
      }
    }
  ],
  "pagination": {
    "current_cursor": "<string>",
    "next_cursor": "<string>",
    "prev_cursor": "<string>",
    "total_count": 123
  }
}

Authorizations

Authorization
string
header
required

Reevo API key passed as Authorization: Bearer <api-key>.

Body

application/json

Request body for POST /activity/_query.

Exactly one parent scope (contact_id / account_id / opportunity_id) must be supplied; opportunity_id maps to the internal pipeline_id.

contact_id
string<uuid> | null
account_id
string<uuid> | null
opportunity_id
string<uuid> | null
type
enum<string> | null

Public activity-type filter (mirrors internal ActivityType values).

Available options:
EMAIL_THREAD,
EMAIL_GLOBAL_THREAD,
CALENDAR_EVENT,
NOTE,
MEETING,
TASK,
VOICE_CALL,
SEQUENCE,
SEQUENCE_ENROLLMENT,
MANUAL_ACTIVITY
created_from
string<date-time> | null
created_to
string<date-time> | null
cursor
string | null
limit
integer
default:50
Required range: 1 <= x <= 100

Response

Successful Response

Wrapper around a paginated list of activity records.

Used by POST /activity/_query for list/filter/sort/pagination.

data
ActivityObjectRecord · object[]
required
pagination
PaginationBlock · object
required

Pagination metadata block.

The three cursor fields are emitted as JSON null when absent (spec §3.2 example). total_count is always present (FR-016): it is the per-page COUNT at the moment the page was served, and equals 0 for empty results (FR-016a).