TalkToHumans Organization API

Organization details for the current API key.

GitHub OpenAPI

Operations 2

GET /v1/organization Get organization #
GET /v1/credits Get credit balance #

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/talktohumans-app:talktohumans-app-organization-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

talktohumans-app-organization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TalkToHumans Public Organization API
  version: 1.0.0
  license:
    name: Proprietary
  description: 'Read and organize the LinkedIn organization data your team already manages in TalkToHumans: accounts, contacts, signals, content, tags, notes, custom fields, sequence state, conversations, templates, and views.'
servers:
- url: https://api.talktohumans.app
  description: TalkToHumans API
security:
- bearerAuth: []
tags:
- name: Organization
  description: Organization details for the current API key.
paths:
  /v1/organization:
    get:
      tags:
      - Organization
      x-mint:
        href: /developers/accounts/get-organization
      operationId: getOrganization
      summary: Get organization
      description: Returns metadata about the current organization
      responses:
        '200':
          description: Organization metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetOrganizationEnvelope'
              example:
                data:
                  organization:
                    id: 123
                    name: Acme
                    created_at: '2026-05-10T12:00:00Z'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /v1/credits:
    get:
      tags:
      - Organization
      x-mint:
        href: /developers/accounts/get-credit-balance
      operationId: getCreditBalance
      summary: Get credit balance
      description: Returns the organization's credits for the current billing period, what each action costs, and its plan
      responses:
        '200':
          description: Credit balance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditBalanceEnvelope'
              example:
                data:
                  credit_balance:
                    available_credits: 680
                    used_credits: 320
                    total_credits: 1000
                    period_start: '2026-10-01T00:00:00Z'
                    period_end: '2026-11-01T00:00:00Z'
                  plan:
                    name: Pro
                    trial_ends_at: '2026-11-01T00:00:00Z'
                    payment_past_due: false
                    action_url: https://app.talktohumans.app/?settings=usage
                  credit_costs:
                    profile_enrichment: 2
                    profile_content: 2
                    content_post: 1
                    content_engagers_per_100: 2
                    people_search_page: 10
                    post_search_page: 2
                    work_email_found: 12
                    mobile_phone_found: 120
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          description: The organization has no subscription with credits.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                code: conflict
                message: credit balance is not available for this workspace
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  responses:
    Forbidden:
      description: API access is not enabled for the organization, the API key cannot resolve to an active organization user, or the login has no workspace yet.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            forbidden:
              value:
                code: forbidden
                message: you don't have access to this organization
            featureUnavailable:
              value:
                code: billing_feature_not_available
                message: MCP and API access needs the Starter or Pro plan. This workspace is on the Free plan.
                action_url: https://app.talktohumans.app/?settings=usage
            insufficientCredits:
              value:
                code: billing_insufficient_credits
                message: 'Not enough credits: this needs 50 and 12 are left.'
                action_url: https://app.talktohumans.app/?settings=usage
            apiKeyPrincipalInvalid:
              value:
                code: forbidden
                message: This API key is no longer linked to an active organization user. Ask an organization admin to regenerate it
            workspaceSetupRequired:
              value:
                code: workspace_setup_required
                message: This TalkToHumans sign-in has no workspace yet. Open https://app.talktohumans.app, sign in with the same email to finish setting up TalkToHumans, then try again.
    BadRequest:
      description: Invalid request. `message` explains what to fix.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: bad_request
            message: field "account_id" must be a string, got number; IDs are strings, e.g. "42"
    InternalServerError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: internal_error
            message: An internal error occurred
    Unauthorized:
      description: Missing, malformed, invalid, or retired API key, or an invalid or expired login access token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missingAuthorization:
              value:
                code: unauthorized
                message: Authorization header is required
            invalidAuthorizationFormat:
              value:
                code: unauthorized
                message: Authorization header must use Bearer scheme
            invalidAPIKey:
              value:
                code: unauthorized
                message: Invalid API key
            invalidAccessToken:
              value:
                code: unauthorized
                message: Invalid or expired access token
    RateLimited:
      description: Rate limit exceeded. Public routes allow 50 requests per 10 seconds per IP and endpoint.
      headers:
        Retry-After:
          description: Seconds to wait before retrying the request.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: rate_limit_exceeded
            message: Rate limit exceeded
    NotFound:
      description: Requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: not_found
            message: participant not found
  schemas:
    CreditBalanceResponse:
      type: object
      additionalProperties: false
      required:
      - credit_balance
      - plan
      - credit_costs
      properties:
        credit_balance:
          $ref: '#/components/schemas/CreditBalance'
        plan:
          $ref: '#/components/schemas/WorkspacePlan'
        credit_costs:
          $ref: '#/components/schemas/CreditCosts'
    GetOrganizationResponse:
      type: object
      additionalProperties: false
      required:
      - organization
      properties:
        organization:
          $ref: '#/components/schemas/Organization'
    CreditBalance:
      type: object
      additionalProperties: false
      required:
      - available_credits
      - used_credits
      - total_credits
      - period_start
      - period_end
      properties:
        available_credits:
          type: integer
          format: int64
          description: Credits left in the current billing period.
        used_credits:
          type: integer
          format: int64
          description: Credits used in the current billing period, including usage still being recorded.
        total_credits:
          type: integer
          format: int64
          description: Credits included in the current billing period.
        period_start:
          type: string
          format: date-time
        period_end:
          type: string
          format: date-time
          description: When credits renew.
    GetOrganizationEnvelope:
      type: object
      additionalProperties: false
      required:
      - data
      properties:
        data:
          $ref: '#/components/schemas/GetOrganizationResponse'
    CreditBalanceEnvelope:
      type: object
      additionalProperties: false
      required:
      - data
      properties:
        data:
          $ref: '#/components/schemas/CreditBalanceResponse'
    CreditCosts:
      type: object
      additionalProperties: false
      description: Credits each action uses. Included plan credits renew every month and expire after 2 months. Purchased add-on credits expire after 12 months.
      required:
      - profile_enrichment
      - profile_content
      - content_post
      - content_engagers_per_100
      - people_search_page
      - post_search_page
      - work_email_found
      - mobile_phone_found
      properties:
        profile_enrichment:
          type: integer
          format: int64
          description: Enriching a profile and its company.
        profile_content:
          type: integer
          format: int64
          description: Getting a profile's posts and comments from the last 30 days.
        content_post:
          type: integer
          format: int64
          description: Importing a post.
        content_engagers_per_100:
          type: integer
          format: int64
          description: Importing a post's engagers, per 100 new commenters or reactors.
        people_search_page:
          type: integer
          format: int64
          description: A page of people search results.
        post_search_page:
          type: integer
          format: int64
          description: A page of post search results.
        work_email_found:
          type: integer
          format: int64
          description: A work email, only when found.
        mobile_phone_found:
          type: integer
          format: int64
          description: A mobile phone number, only when found.
    WorkspacePlan:
      type: object
      additionalProperties: false
      required:
      - payment_past_due
      - action_url
      properties:
        name:
          type: string
          description: The workspace's plan, such as Free, Starter or Pro.
        trial_ends_at:
          type: string
          format: date-time
          description: When the trial ends, while the workspace is on one. The workspace then moves to the Free plan, which has no MCP or API access.
        payment_past_due:
          type: boolean
          description: True when the last payment failed. Access stops if the payment isn't fixed.
        action_url:
          type: string
          format: uri
          description: Web app page to fix the payment when payment_past_due is true, otherwise to upgrade the plan or buy more credits. Only workspace admins can change billing.
    Error:
      type: object
      additionalProperties: false
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Machine-readable error code.
          enum:
          - unauthorized
          - forbidden
          - not_found
          - bad_request
          - internal_error
          - conflict
          - rate_limit_exceeded
          - account_shared_access_required
          - linkedin_not_connected
          - workspace_setup_required
          - billing_payment_failed
          - billing_subscription_incomplete
          - billing_subscription_expired
          - billing_grace_period
          - billing_feature_not_available
          - billing_insufficient_credits
          - billing_invalid
          - enrichment_failed
          - enrichment_in_progress
          - linkedin_profile_not_found
          - request_timeout
          - upstream_error
        message:
          type: string
          description: Human-readable error message.
        action_url:
          type: string
          format: uri
          description: Web app page that fixes the error, such as the plans or billing settings. Sent with billing errors. Only workspace admins can change billing.
        debug:
          type: string
          description: Development-only debug details.
    Organization:
      type: object
      additionalProperties: false
      properties:
        id:
          type: integer
          format: int32
        name:
          type: string
        created_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Pass `Authorization: Bearer <credential>`, where the credential is either:

        - an API key (`sk_…`), generated by an organization admin in Settings, for scripts and automation;

        - an access token from `tth auth login` (the TalkToHumans CLI), which any member of the workspace can use.


        Both resolve to the same organization and user. A login token acts in the user''s workspace: one with no workspace yet returns `403 workspace_setup_required`, and one in several workspaces returns `403 forbidden` (use an API key instead).

        '