---
title: "Internally Search Orgs"
method: POST
path: "/v1/internal/orgs/search"
tags: ["internal", "internal_orgs"]
---

# Internally Search Orgs

`POST /v1/internal/orgs/search`

Fetch the data for the different graphs in the dashboard.

## Request body

- SearchBody
  - `q` string, required

## Response `200`

Successful Response

- InternalCompanyData[]
  - `id` string, uuid, required
  - `name` string, required
  - `billing_email` string, required
  - `org_stripe_id` string, required
  - `subscription_paused_reason` SubscriptionPaused, required — If a subscription is paused (can't charge card, user cancels, ...) we store the reasons here.
    - `invoices` SubscriptionPausedInvoiceData[], required
      - `invoice_id` string, required — The ID of the invoice (in stripe: `in_xxxxx`)
      - `invoice_number` string, required — Customer-facing ID for the invoice
      - `amount` number, required — The amount due, in the Org's currency
      - `timestamp` integer, required — When the subscription was paused
      - `pause_reason` string, required — The reason the subscription was paused
      - `invoice_name` string, required — The name of the product attached to this invoice
      - `payment_link` string, nullable, required — A link to pay the invoice
      - `severity` 1 | 2, required — The severity: 1 (warning, banner shown, features available), 2 (subscription paused, banner shown, features paused)
  - `slug` string, required
  - `hubspot_id` string, nullable, required
  - `city` string
  - `country` string
  - `creator` string, required
  - `email` string, required
  - `subscription_tier` '_NONE_' | '_TRIAL_' | '_INTERNAL_' | 'STARTUP' | 'GROWTH' | 'SCALE' | 'ENTERPRISE', nullable, required
  - `subscription_cycle` 'monthly' | 'yearly', nullable, required
  - `trial_end` integer, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pulze/apis/pulze-ai-api.md) · [All operations](https://skmtc.net/pulze/apis/pulze-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pulze/pulze-ai-api/revisions/a5e0b539abc5/schema)
