---
title: "The campaigns a CRM record (a person or a lead) is in, newest first, with the person's status in each and the accounts that send to them"
method: GET
path: "/campaigns/by-record/{entryId}"
tags: ["campaigns"]
---

# The campaigns a CRM record (a person or a lead) is in, newest first, with the person's status in each and the accounts that send to them

`GET /campaigns/by-record/{entryId}`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/campaigns/by-record/{entryId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

The campaigns a CRM record (a person or a lead) is in, newest first, with the person's status in each and the accounts that send to them.

## Path parameters

- `entryId` string, required: A CRM record's _id: a person, or a lead created from one.

## Response `200`

Successful response

- object[]
  - `enrollment` object, required: The person in that campaign: _id, sequenceId, status, currentStepIndex, repliedAt.
  - `sequenceName` string, required
  - `isOwner` boolean, required
  - `canManage` boolean, required
  - `senders` object, required: The accounts that send to this person.
    - `email` object, nullable, required
      - `accountId` string, required
      - `label` string, required: The mailbox address or LinkedIn name.
      - `status` string, required
    - `linkedin` object, nullable, required
      - `accountId` string, required
      - `label` string, required: The mailbox address or LinkedIn name.
      - `status` string, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

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