Prodantix Company API

The company API from Prodantix — 9 operation(s) for company.

GitHub OpenAPI

Operations 13

GET /v1/company/sso Read the single sign-on connection #
PUT /v1/company/sso Connect an identity provider #
DELETE /v1/company/sso Disconnect the identity provider #
GET /v1/company/closure Read the company's closure #
POST /v1/company/close Close the company #
POST /v1/company/reopen Reopen the company #
GET /v1/company/export Read the company's export #
POST /v1/company/export Export everything #
GET /v1/projects/{projectId}/domains List a project's domains #
POST /v1/projects/{projectId}/domains Connect a domain #
POST /v1/projects/{projectId}/domains/{domainId}/check Check a domain now #
DELETE /v1/projects/{projectId}/domains/{domainId} Remove a domain #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/prodantix-com:prodantix-com-company-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

prodantix-com-company-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Prodantix Company API
  version: 0.1.0
servers:
- url: https://api.prodantix.com
  description: Flags and messaging
- url: https://eu.api.prodantix.com
  description: Event ingestion (EU)
- url: https://eu.replay.prodantix.com
  description: Session replay (EU)
tags:
- name: Company
paths:
  /v1/company/sso:
    get:
      summary: Read the single sign-on connection
      tags:
      - Company
      description: The company's identity provider, OIDC or SAML, without its client secret, which is never stored here. Answers 404 when none is connected.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: The connection
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  protocol:
                    type: string
                  displayName:
                    type: string
                  issuer:
                    type:
                    - string
                    - 'null'
                  clientId:
                    type:
                    - string
                    - 'null'
                  createdAt:
                    type: string
                  updatedAt:
                    type: string
                required:
                - id
                - protocol
                - displayName
                - createdAt
                - updatedAt
        '402':
          description: The company's plan does not include single sign-on
        '403':
          description: The caller may not manage the company's security
      operationId: getV1CompanySso
      x-operation-id-source: derived
    put:
      summary: Connect an identity provider
      tags:
      - Company
      description: Connects the company's identity provider, replacing the one connected before. OIDC takes an https issuer, a client id and a client secret; SAML takes federation metadata of at most 512 KiB.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                displayName:
                  type: string
                protocol:
                  type: string
                issuer:
                  type:
                  - string
                  - 'null'
                clientId:
                  type:
                  - string
                  - 'null'
                clientSecret:
                  type:
                  - string
                  - 'null'
                metadataXml:
                  type:
                  - string
                  - 'null'
              required:
              - displayName
              - protocol
      responses:
        '200':
          description: The connection as stored
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  protocol:
                    type: string
                  displayName:
                    type: string
                  issuer:
                    type:
                    - string
                    - 'null'
                  clientId:
                    type:
                    - string
                    - 'null'
                  createdAt:
                    type: string
                  updatedAt:
                    type: string
                required:
                - id
                - protocol
                - displayName
                - createdAt
                - updatedAt
        '402':
          description: The company's plan does not include single sign-on
        '403':
          description: The caller may not manage the company's security
      operationId: putV1CompanySso
      x-operation-id-source: derived
    delete:
      summary: Disconnect the identity provider
      tags:
      - Company
      description: Disconnects the company's identity provider; its people sign in with their Bomdisoft ID again. Anyone signed in stays signed in.
      security:
      - bearerAuth: []
      responses:
        '204':
          description: The provider is disconnected
        '402':
          description: The company's plan does not include single sign-on
        '403':
          description: The caller may not manage the company's security
      operationId: deleteV1CompanySso
      x-operation-id-source: derived
  /v1/company/closure:
    get:
      summary: Read the company's closure
      tags:
      - Company
      description: When the company closed, why, and when it is deleted; `closure` is null while it is open.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: The closure
          content:
            application/json:
              schema:
                type: object
                properties:
                  closure:
                    anyOf:
                    - $ref: '#/components/schemas/CompanyClosureBody'
                    - type: 'null'
      operationId: getV1CompanyClosure
      x-operation-id-source: derived
  /v1/company/close:
    post:
      summary: Close the company
      tags:
      - Company
      description: 'Closes the company at once: it stops, stays exportable and reopenable for 30 days, and is then deleted with everything in it. Owners only, after a fresh two-factor sign-in carried in `x-id-token`.'
      security:
      - bearerAuth: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Up to 255 characters. A retry with the same key within 24 hours answers the first result instead of running again; the same key with a different request answers 409.
        schema:
          type: string
      responses:
        '200':
          description: The closure
          content:
            application/json:
              schema:
                type: object
                properties:
                  closedAt:
                    type: string
                  purgeAfter:
                    type: string
                  reason:
                    type: string
                required:
                - closedAt
                - purgeAfter
                - reason
        '401':
          description: A fresh two-factor sign-in is required (`STEP_UP_REQUIRED`)
        '403':
          description: The caller is not an owner
      operationId: postV1CompanyClose
      x-operation-id-source: derived
  /v1/company/reopen:
    post:
      summary: Reopen the company
      tags:
      - Company
      description: Reopens a closed company within its 30 days. Owners only, after a fresh two-factor sign-in carried in `x-id-token`.
      security:
      - bearerAuth: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Up to 255 characters. A retry with the same key within 24 hours answers the first result instead of running again; the same key with a different request answers 409.
        schema:
          type: string
      responses:
        '204':
          description: Reopened
        '401':
          description: A fresh two-factor sign-in is required (`STEP_UP_REQUIRED`)
        '403':
          description: The caller is not an owner
        '409':
          description: The company is not closed, or its 30 days have run out
      operationId: postV1CompanyReopen
      x-operation-id-source: derived
  /v1/company/export:
    get:
      summary: Read the company's export
      tags:
      - Company
      description: The latest export of everything, or null when none was asked for. Owners only.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: The export
          content:
            application/json:
              schema:
                type: object
                properties:
                  export:
                    anyOf:
                    - $ref: '#/components/schemas/CompanyExportBody'
                    - type: 'null'
        '403':
          description: The caller is not an owner
      operationId: getV1CompanyExport
      x-operation-id-source: derived
    post:
      summary: Export everything
      tags:
      - Company
      description: 'Starts preparing one archive of everything the company holds: every record, its events and its session recordings. Answers the export already being prepared rather than starting a second. Owners only.'
      security:
      - bearerAuth: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Up to 255 characters. A retry with the same key within 24 hours answers the first result instead of running again; the same key with a different request answers 409.
        schema:
          type: string
      responses:
        '202':
          description: The export
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                  bytes:
                    type:
                    - integer
                    - 'null'
                    format: int64
                  requestedAt:
                    type: string
                  readyAt:
                    type:
                    - string
                    - 'null'
                  expiresAt:
                    type:
                    - string
                    - 'null'
                required:
                - id
                - status
                - requestedAt
        '403':
          description: The caller is not an owner
      operationId: postV1CompanyExport
      x-operation-id-source: derived
  /v1/company/export/{exportId}/link:
    post:
      summary: Link to the company's export
      tags:
      - Company
      description: A link that downloads the ready archive, valid for a minute. Owners only.
      security:
      - bearerAuth: []
      parameters:
      - name: exportId
        in: path
        required: true
        description: The id the export request answered
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Up to 255 characters. A retry with the same key within 24 hours answers the first result instead of running again; the same key with a different request answers 409.
        schema:
          type: string
      responses:
        '200':
          description: The link
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  expiresInSeconds:
                    type: integer
                    format: uint32
                    minimum: 0
                required:
                - url
                - expiresInSeconds
        '403':
          description: The caller is not an owner
        '404':
          description: The export is not ready, or its 7 days have run out
      operationId: postV1CompanyExportByExportIdLink
      x-operation-id-source: derived
  /v1/projects/{projectId}/domains:
    get:
      summary: List a project's domains
      tags:
      - Company
      description: The project environment's tracking domain, then its content domains, each with the DNS records to add and its state.
      security:
      - bearerAuth: []
      parameters:
      - name: projectId
        in: path
        required: true
        description: The project environment the domains belong to
        schema:
          type: string
      responses:
        '200':
          description: The domains
          content:
            application/json:
              schema:
                type: object
                properties:
                  domains:
                    type: array
                    items:
                      $ref: '#/components/schemas/DomainDto'
                required:
                - domains
      operationId: getV1ProjectsByProjectIdDomains
      x-operation-id-source: derived
    post:
      summary: Connect a domain
      tags:
      - Company
      description: Claims a subdomain for tracking (the SDK's ingest, flags and messenger) or content (hosted forms and pages), and answers the TXT record that proves the project controls it. Counted against the plan's max_first_party_domains. Needs prodantix.projects.update.
      security:
      - bearerAuth: []
      parameters:
      - name: projectId
        in: path
        required: true
        description: The project environment the domains belong to
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Up to 255 characters. A retry with the same key within 24 hours answers the first result instead of running again; the same key with a different request answers 409.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                domain:
                  type: string
                purpose:
                  type: string
                  description: '`tracking` or `content`.'
              required:
              - domain
              - purpose
      responses:
        '201':
          description: The claimed domain
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  domain:
                    type: string
                  purpose:
                    type: string
                    description: '`tracking` or `content`.'
                  state:
                    type: string
                    description: '`claimed`, `verified`, `provisioning`, `awaiting_records`, `serving`,

                      `failed` or `removed`.'
                  records:
                    type: array
                    items:
                      $ref: '#/components/schemas/DnsRecordDto'
                    description: 'The records to add now: our proof while claimed, Railway''s once

                      provisioned.'
                  verifiedAt:
                    type:
                    - string
                    - 'null'
                  servingAt:
                    type:
                    - string
                    - 'null'
                  checkedAt:
                    type:
                    - string
                    - 'null'
                  lastError:
                    type:
                    - string
                    - 'null'
                    description: 'Why the last check did not move it on: `proof_missing`, `zone_apex`,

                      `lookup_failed`, `unreachable` or `other_project`.'
                  createdAt:
                    type: string
                  updatedAt:
                    type: string
                required:
                - id
                - domain
                - purpose
                - state
                - records
                - createdAt
                - updatedAt
        '400':
          description: The host is not a subdomain, or the purpose is unknown
        '402':
          description: The plan holds no more domains
        '409':
          description: The project already connects it, or the environment already has its tracking domain
      operationId: postV1ProjectsByProjectIdDomains
      x-operation-id-source: derived
  /v1/projects/{projectId}/domains/{domainId}/check:
    post:
      summary: Check a domain now
      tags:
      - Company
      description: Looks for a claimed domain's TXT record now, rather than at the next ten-minute check. Needs prodantix.projects.update.
      security:
      - bearerAuth: []
      parameters:
      - name: projectId
        in: path
        required: true
        description: The project environment the domains belong to
        schema:
          type: string
      - name: domainId
        in: path
        required: true
        description: The domain's id
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Up to 255 characters. A retry with the same key within 24 hours answers the first result instead of running again; the same key with a different request answers 409.
        schema:
          type: string
      responses:
        '200':
          description: The domain as the check left it
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  domain:
                    type: string
                  purpose:
                    type: string
                    description: '`tracking` or `content`.'
                  state:
                    type: string
                    description: '`claimed`, `verified`, `provisioning`, `awaiting_records`, `serving`,

                      `failed` or `removed`.'
                  records:
                    type: array
                    items:
                      $ref: '#/components/schemas/DnsRecordDto'
                    description: 'The records to add now: our proof while claimed, Railway''s once

                      provisioned.'
                  verifiedAt:
                    type:
                    - string
                    - 'null'
                  servingAt:
                    type:
                    - string
                    - 'null'
                  checkedAt:
                    type:
                    - string
                    - 'null'
                  lastError:
                    type:
                    - string
                    - 'null'
                    description: 'Why the last check did not move it on: `proof_missing`, `zone_apex`,

                      `lookup_failed`, `unreachable` or `other_project`.'
                  createdAt:
                    type: string
                  updatedAt:
                    type: string
                required:
                - id
                - domain
                - purpose
                - state
                - records
                - createdAt
                - updatedAt
        '404':
          description: No such domain
        '409':
          description: Another project proved this host first
      operationId: postV1ProjectsByProjectIdDomainsByDomainIdCheck
      x-operation-id-source: derived
  /v1/projects/{projectId}/domains/{domainId}:
    delete:
      summary: Remove a domain
      tags:
      - Company
      description: The domain stops serving at once and is detached at the next pipeline run. Needs prodantix.projects.update.
      security:
      - bearerAuth: []
      parameters:
      - name: projectId
        in: path
        required: true
        description: The project environment the domains belong to
        schema:
          type: string
      - name: domainId
        in: path
        required: true
        description: The domain's id
        schema:
          type: string
      responses:
        '200':
          description: The removed domain
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  domain:
                    type: string
                  purpose:
                    type: string
                    description: '`tracking` or `content`.'
                  state:
                    type: string
                    description: '`claimed`, `verified`, `provisioning`, `awaiting_records`, `serving`,

                      `failed` or `removed`.'
                  records:
                    type: array
                    items:
                      $ref: '#/components/schemas/DnsRecordDto'
                    description: 'The records to add now: our proof while claimed, Railway''s once

                      provisioned.'
                  verifiedAt:
                    type:
                    - string
                    - 'null'
                  servingAt:
                    type:
                    - string
                    - 'null'
                  checkedAt:
                    type:
                    - string
                    - 'null'
                  lastError:
                    type:
                    - string
                    - 'null'
                    description: 'Why the last check did not move it on: `proof_missing`, `zone_apex`,

                      `lookup_failed`, `unreachable` or `other_project`.'
                  createdAt:
                    type: string
                  updatedAt:
                    type: string
                required:
                - id
                - domain
                - purpose
                - state
                - records
                - createdAt
                - updatedAt
        '404':
          description: No such domain
      operationId: deleteV1ProjectsByProjectIdDomainsByDomainId
      x-operation-id-source: derived
components:
  schemas:
    CompanyExportBody:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        bytes:
          type:
          - integer
          - 'null'
          format: int64
        requestedAt:
          type: string
        readyAt:
          type:
          - string
          - 'null'
        expiresAt:
          type:
          - string
          - 'null'
      required:
      - id
      - status
      - requestedAt
    CompanyClosureBody:
      type: object
      properties:
        closedAt:
          type: string
        purgeAfter:
          type: string
        reason:
          type: string
      required:
      - closedAt
      - purgeAfter
      - reason
    DomainDto:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        status:
          type: string
          description: '`pending`, `verified` or `failed`.'
        records:
          type: array
          items:
            $ref: '#/components/schemas/DnsRecordDto'
          description: The records to add, the DMARC record last.
        trackingSubdomain:
          type: string
        openTracking:
          type: boolean
        clickTracking:
          type: boolean
        dmarcSeen:
          type: boolean
        dedicatedPool:
          type: string
          description: '`none`, `requested`, `warming` or `active`.'
        lastError:
          type:
          - string
          - 'null'
        checkedAt:
          type:
          - string
          - 'null'
        verifiedAt:
          type:
          - string
          - 'null'
        createdAt:
          type: string
      required:
      - id
      - name
      - status
      - records
      - trackingSubdomain
      - openTracking
      - clickTracking
      - dmarcSeen
      - dedicatedPool
      - createdAt
    DnsRecordDto:
      type: object
      properties:
        purpose:
          type: string
          description: '`DKIM`, `SPF`, `Tracking` or `DMARC`.'
        recordType:
          type: string
        name:
          type: string
        value:
          type: string
        priority:
          type:
          - integer
          - 'null'
          format: int32
        status:
          type: string
          description: '`not_started`, `pending`, `verified` or `failed`.'
      required:
      - purpose
      - recordType
      - name
      - value
      - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: An end-user access token.
    billingSignature:
      type: apiKey
      in: header
      name: bomdisoft-billing-signature
      description: HMAC signature over the raw request body, verified against a shared secret.