# Get one company

One row of the Companies table, as GET /tables/companies gives it, with its `activity`: what was logged about the company (its general address too) and about its people in the Leads table. `{id}` is its `id` or one of its `saved_ids`, its domain, its LinkedIn page or its name. mySDR keeps your whole process, so the user never needs a spreadsheet next to it: the state of each company and person (status with a reason, next action, email and contact points, your own fields), every email, reply and bounce you log, the exclusions, and a check before every send. The user sees all of it in the Leads and Companies tabs.

## Authentication

Send `Authorization: Bearer gtk_…`. Create the key under **Connect assistant → API keys**. Every `gtk_` key can call these routes, also while the Signals API is closed. A missing, invalid or revoked key is **401**.

### Path parameters

- **`id`** `string` · **required** — The row, a domain, a LinkedIn page or a name (URL-encoded).

## Response

- **`…`** `object` · **required** — The fields of a row of GET /tables/companies.
- **`activity`** `object[]` · **required** — The log of this row, newest first (up to 50): `id`, `at`, `type`, `label`, `subject`, `summary`, `email`, `step`, `template`, `thread_id`, `sentiment`, `until`, `detail`, `source_url`, `campaign_id`, `row` (who it was about) and `via` (the name of the key that logged it).
- **`activity_more`** `boolean` · **required** — There is older activity: read it with GET /outreach/activity?company=.

## Credits

Free. This call never uses credits.

## Errors

- **404** `not_found` — No company in the Companies table matches this id, domain, page or name.
- **401** `authentication_error` — The Authorization header is missing, or the key is unknown or revoked.
- **403** `permission_error` — API access is not part of your plan, or your account is suspended.
- **429** `rate_limit_error` — More than 60 requests per minute, or more than 3 at the same time, on one key. Wait for the Retry-After header.
- **503** `service_unavailable` — The API is temporarily unavailable. Retry later.
- **500** `internal_error` — Something went wrong on our side.

## Example

### cURL

```bash
curl "https://mysdr.app/api/v1/tables/companies/acme-logistics.example" \
  -H "Authorization: Bearer $MYSDR_API_KEY"
```

### JavaScript

```javascript
const response = await fetch('https://mysdr.app/api/v1/tables/companies/acme-logistics.example', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.MYSDR_API_KEY}`
  }
});
const body = await response.json();
```

### Python

```python
import json
import os
import urllib.request

request = urllib.request.Request(
    "https://mysdr.app/api/v1/tables/companies/acme-logistics.example",
    headers={
    "Authorization": f"Bearer {os.environ['MYSDR_API_KEY']}"
    },
    method="GET",
)
with urllib.request.urlopen(request) as response:
    body = json.load(response)
```

### Example response

```json
{
  "object": "table_company",
  "id": "sav_2b9e8d10-7f4a-4a51-8c2e-5d1f0a3b6c77",
  "name": "Acme Logistics",
  "domain": "acme-logistics.example",
  "status": "snoozed",
  "status_reason": "Rescan: only 2 open roles",
  "snooze_until": "2026-11-23T08:00:00.000Z",
  "contact_points": [
    {
      "kind": "email",
      "value": "jobs@acme-logistics.example",
      "label": "jobs",
      "source_url": "https://acme-logistics.example/contact",
      "email_status": "catch_all"
    }
  ],
  "fields": {
    "fte": {
      "value": 233,
      "label": "FTE",
      "source_url": "https://example.org/annual-accounts",
      "observed_at": "2026-10-21T10:00:00.000Z"
    }
  },
  "outreach": {
    "status": "ongoing",
    "label": "Email sent",
    "attention": null,
    "last_activity_at": "2026-10-22T08:31:00.000Z",
    "next_step_at": null,
    "campaign_ids": []
  },
  "activity": [
    {
      "id": "a71c…",
      "at": "2026-10-22T08:31:00.000Z",
      "type": "email_sent",
      "label": "Email sent",
      "action": null,
      "subject": "Your open roles",
      "summary": null,
      "email": "jobs@acme-logistics.example",
      "step": 1,
      "template": "step1_jobs_inbox",
      "thread_id": "thread-88",
      "sentiment": null,
      "until": null,
      "detail": null,
      "source_url": null,
      "campaign_id": null,
      "row": {
        "id": "sav_2b9e8d10-7f4a-4a51-8c2e-5d1f0a3b6c77",
        "object": "company",
        "name": "Acme Logistics"
      },
      "via": "Grok Bot"
    }
  ],
  "activity_more": false
}
```
