---
title: "Detect organization ID keys"
method: GET
path: "/account-suggestions/organization-ids"
tags: ["Accounts"]
---

# Detect organization ID keys

`GET /account-suggestions/organization-ids`

## Request

- Base URL: `https://api.sequenzy.com/api/v1`
- URL: `https://api.sequenzy.com/api/v1/account-suggestions/organization-ids`
- Auth: HTTP bearer

Finds event properties from the last 180 days (such as `workspaceId` or `organization_id`) and contact attributes (such as `account_id`) that look like your own organization ID, so you can create accounts from data you already send. Most useful first. Read-only; preview a candidate before creating accounts from it.

## Response `200`

Detected keys

- object
  - `success` boolean
  - `candidates` AccountOrganizationIdCandidate[]
    - `source` 'event' | 'attribute'
    - `propertyKey` string
    - `nameKey` string, nullable: Sibling property with the organization name, when found.
    - `eventCount` integer: Events carrying the key (`event`) or contacts with the attribute (`attribute`).
    - `accountCount` integer: Distinct organizations, the accounts creating would make.
    - `eventNames` string[]: Up to 8 event names carrying the key. Empty for attributes.

## Other responses

- `401`: Missing or invalid API key
- `403`: The API key lacks `subscribers:read`, or no company is selected.

## Changes

- **2026-10-16** `db3873ca3d4d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/account-suggestions/organization-ids/get.md)

---

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