---
title: "Create a Digital Activity by email"
method: POST
path: "/api/digital-activities"
tags: ["Digital Activities Management"]
---

# Create a Digital Activity by email

`POST /api/digital-activities`

## Request

- Base URL: `https://api.reallysimplesystems.com`
- URL: `https://api.reallysimplesystems.com/api/digital-activities`
- Auth: HTTP bearer

Creates a Digital Activity record by identifying the Contact (and therefore Account) using an email address. The endpoint accepts all standard Digital Activity fields plus an email field to automatically determine contact_id and account_id.

## Request body

- object
  - `email` string, required: The email address of the contact. Used to identify both the Contact and Account for the Digital Activity.
  - `type` string, required: The type of Digital Activity (e.g., "FormWasSubmitted", "WebsiteHit", "EmailLinkWasClicked").
  - `score` number: The score value for this activity.
  - `occurred_at` string: The date and time when the activity occurred (format: Y-m-d H:i:s).
  - `furtherInfo` string: JSON string containing additional information about the activity (e.g., form fields, UTM parameters).

## Response `201`

Digital Activity created successfully.

- object
  - `status` string
  - `message` string
  - `data` object
    - `metadata` object
      - `url` string
      - `list_url` string
      - `parent` string, nullable
      - `object_type` string
      - `record_type` string
    - `record` object
      - `id` integer
      - `type` string
      - `score` integer
      - `contact_id` integer
      - `account_id` integer

## Other responses

- `404`: Contact with the provided email address not found.
- `422`: Validation errors occurred.

---

[API](https://skmtc.dev/reallysimplesystems/apis/crm-api-documentation.md) · [All operations](https://skmtc.dev/reallysimplesystems/apis/crm-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/reallysimplesystems/apis/crm-api-documentation/revisions/eb046f87bd56?raw)
