Activities

Returns the timeline: notes, emails, calls, meetings and deal stage changes, newest first by occurred_at. Filter by contact, deal, kind or time window. A contact's orders, bookings and form submissions are not activities; list them from their own endpoints.

get/activities

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Query parameters

contact, string

Filter by contact ID (con_...)

deal, string

Filter by deal ID (deal_...)

kind, string

Filter by kind: note, email, call, meeting or stage. Takes one kind or a comma-separated list. An unknown kind answers 400.

from, string date-time

Only activities that occurred at or after this ISO 8601 time

to, string date-time

Only activities that occurred before this ISO 8601 time

expand, string

Comma-separated relations to expand: contact, deal

starting_after, string

Cursor for pagination — the ID of the last item in the previous page

created, union
integer

Unix seconds, exact match

OR
string

Unix seconds or an ISO 8601 time, exact match

OR
object

Only return objects created in this window. Pass a Unix timestamp in seconds for an exact match, or bound it with created[gt], created[gte], created[lt] and created[lte], which combine: created[gte]=1735689600&created[lt]=1738368000 is January 2025. ISO 8601 times work too (created[gte]=2025-01-01T00:00:00Z), so a created_at from a response can be passed back as is, and an ISO 8601 date (created[gte]=2025-01-01) is that whole UTC day. Timestamps are in seconds: a value in milliseconds is rejected with 400 parameter_invalid.

limit, integer

Items per page

Response

The timeline, newest first

ListResponseActivity required
object, 'list' required
data, Activity[] required
has_more, boolean required
url, string required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    3 more changes in this revision