---
title: "Log activity"
method: POST
path: "/activities"
tags: ["Activities"]
---

# Log activity

`POST /activities`

## Request

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

Logs a note, email, call or meeting on a contact's timeline, optionally on one of their deals. `body` holds up to 10,000 characters. A meeting may have no contact and may carry `ends_at`. The author is the team member whose key made the call, or the agent's chat (`author_agent`) when Crevio's agent logs it.

## Headers

- `Idempotency-Key` string

## Request body

- ActivityRequest
  - `kind` 'note' | 'email' | 'call' | 'meeting': What happened: `note`, `email`, `call` or `meeting`. Defaults to `note` on create. Stage changes are written when a deal moves and cannot be logged by hand.
  - `contact` string, nullable: Contact ID (`con_...`) the activity is about. Required unless `kind` is `meeting` or `deal` is set; with a deal it must be the deal's contact.
  - `deal` string, nullable: Deal ID (`deal_...`) the activity belongs to. Its contact becomes the activity's contact.
  - `body` string: What was said or decided: the note, the email's gist, the call summary or the meeting minutes.
  - `occurred_at` string, date-time: When it happened. Defaults to now.
  - `ends_at` string, date-time, nullable: When a meeting ended. Only for `meeting`, and not before `occurred_at`.

## Response `201`

Activity logged

- Activity
  - `id` string, required
  - `object` string, required
  - `kind` 'note' | 'email' | 'call' | 'meeting' | 'stage', required
  - `body` string, nullable, required
  - `occurred_at` string, date-time, required
  - `ends_at` string, date-time, nullable, required
  - `author_agent` string, nullable, required
  - `metadata` object, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `author_user` string, nullable, required
  - `contact` union, required: ID by default, full object when expanded
    - string
    - Contact
      - `id` string, required
      - `object` string, required
      - `email` string, required
      - `name` string, nullable, required
      - `first_name` string, nullable, required
      - `last_name` string, nullable, required
      - `phone_number` string, nullable, required
      - `company` string, nullable, required
      - `lifecycle` 'lead' | 'customer', required
      - `became_customer_at` string, date-time, nullable, required
      - `notes` string, nullable, required
      - `confirmed_at` string, date-time, nullable, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `deleted_at` string, date-time, nullable, required
      - `purge_at` string, nullable, required
      - `subscribed` boolean
      - `anonymized` boolean, required
      - `metadata` object, required
      - `orders_count` integer, required: Live orders that went through: refunded ones count, while pending, failed and test-mode orders don't.
      - `total_spend` integer, required: Lifetime spend in the smallest unit of the account's currency, net of refunds. Test-mode orders and disputed charges are left out.
      - `tags` unknown[], required
        - unknown
  - `deal` union, required: ID by default, full object when expanded
    - string
    - Deal
      - `id` string, required
      - `object` string, required
      - `title` string, required
      - `stage` string, required
      - `position` integer, required
      - `value` integer, nullable, required
      - `currency` string, required
      - `expected_close_on` string, date, nullable, required
      - `description` string, nullable, required
      - `next_step` string, nullable, required
      - `next_step_due_on` string, date, nullable, required
      - `won_at` string, date-time, nullable, required
      - `lost_at` string, date-time, nullable, required
      - `lost_reason` string, nullable, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `contact` union, required: ID by default, full object when expanded
        - string
        - Contact
          - `id` string, required
          - `object` string, required
          - `email` string, required
          - `name` string, nullable, required
          - `first_name` string, nullable, required
          - `last_name` string, nullable, required
          - `phone_number` string, nullable, required
          - `company` string, nullable, required
          - `lifecycle` 'lead' | 'customer', required
          - `became_customer_at` string, date-time, nullable, required
          - `notes` string, nullable, required
          - `confirmed_at` string, date-time, nullable, required
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `deleted_at` string, date-time, nullable, required
          - `purge_at` string, nullable, required
          - `subscribed` boolean
          - `anonymized` boolean, required
          - `metadata` object, required
          - `orders_count` integer, required: Live orders that went through: refunded ones count, while pending, failed and test-mode orders don't.
          - `total_spend` integer, required: Lifetime spend in the smallest unit of the account's currency, net of refunds. Test-mode orders and disputed charges are left out.
          - `tags` unknown[], required
            - unknown

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

## Changes

- **2026-11-15** `56c22ab9b282`: 7 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `400`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `403`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `404`
  - …3 more
- **2026-11-14** `a37321cbfdd6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/activities/post.md)

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
