Phantombuster Identities API

The identities API from Phantombuster — 5 operation(s) for identities.

GitHub OpenAPI

Operations 5

POST /identities/events/save Create identities events save #
POST /identities/generate-token Create identities generate token #
POST /identities/save Create identities save #
POST /identities/save-with-token Create identities save with token #
POST /identities/search Create identities search #

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/phantombuster:phantombuster-identities-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

phantombuster-identities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Phantombuster API v2. Swagger api specification is located at https://github.com/phantombuster/public-gists/blob/master/swagger-api-v2.json
  version: 2.0.0
  title: Phantombuster API v2 Identities API
  contact:
    email: contact@phantombuster.com
  license:
    name: ISC
    url: https://opensource.org/licenses/ISC
servers:
- description: Phantombuster api
  url: https://api.phantombuster.com/api/v2
- description: SwaggerHub API Auto Mocking
  url: https://virtserver.swaggerhub.com/Phantombuster/Phantombuster-v2/2.0.0
security:
- apiKeyAuth: []
tags:
- name: Identities
paths:
  /identities/events/save:
    post:
      description: Save the identity event.
      tags:
      - Identities
      responses:
        '200':
          description: Identity event successfully saved.
        '500':
          description: Unexpected error while saving the identity event.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                identity_type:
                  description: identity type of the identity event
                  type: string
                profile_id:
                  description: profile id of the identity event (non-empty, not whitespace-only)
                  type: string
                  minLength: 1
                  pattern: .*\S.*
                event_type:
                  description: type of the identity event
                  type: string
                event_data:
                  description: event data of the identity event
                  type: object
                timestamp:
                  description: optional timestamp of the identity event (in milliseconds since epoch)
                  type: number
                  minimum: 1000000000000
                  maximum: 9999999999999
              required:
              - identity_type
              - profile_id
              - event_type
              - event_data
              additionalProperties: false
      summary: Create identities events save
      x-summary-source: derived
      operationId: postIdentitiesEventsSave
      x-operation-id-source: derived
  /identities/generate-token:
    post:
      description: Generate identity token.
      tags:
      - Identities
      responses:
        '200':
          description: Token successfully generated.
        '400':
          description: Token limit exceeded.
        '403':
          description: Magic links aren't available in Tealde workspaces.
        '412':
          description: User email is not validated.
        '500':
          description: Unexpected error while generating the identity token.
      summary: Create identities generate token
      x-summary-source: derived
      operationId: postIdentitiesGenerateToken
      x-operation-id-source: derived
  /identities/save:
    post:
      description: Save identity.
      tags:
      - Identities
      responses:
        '200':
          description: Identity successfully saved or updated.
        '403':
          description: The caller may not set or change the identity's owner or its profile (Tealde workspaces), or save its Pulse settings.
        '409':
          description: The identity changed while it was being saved, for example its owner. Retry the save.
        '422':
          description: The userId is not a member of the workspace.
        '500':
          description: Unexpected error while saving the identity.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  description: id of the identity to save
                  type: string
                userId:
                  description: 'Workspace member who owns the identity: sending the stored owner, or none, keeps it. In a Tealde workspace, a new identity defaults to the member saving it, a Phantom''s userId is ignored, and only an admin''s own web session sets another member or changes the owner'
                  type: string
                type:
                  type: string
                  enum:
                  - linkedin
                  - google
                  description: type of the identity to save
                firstName:
                  description: first name of the identity to save
                  type: string
                lastName:
                  description: last name of the identity to save
                  type: string
                profileUrl:
                  description: profile url of the identity to save
                  type: string
                profileId:
                  type: string
                  description: profile id of the identity to save
                  maxLength: 475
                  minLength: 1
                profilePictureUrl:
                  description: profile picture url of the identity to save
                  type: string
                subscriptionTitles:
                  description: subscription titles of the identity to save
                  type:
                  - array
                  - 'null'
                  items:
                    type: string
                headline:
                  description: headline of the identity to save
                  type: string
                pulse:
                  description: Pulse consent and daily maximum of LinkedIn reads, saved only by the identity owner's own web session
                  title: IdentityPulse
                  type: object
                  properties:
                    enabled:
                      type: boolean
                    maxLinkedinReadsPerDay:
                      type: integer
                      minimum: 0
                      maximum: 1000
                  required:
                  - enabled
                  additionalProperties: false
              required:
              - type
              - profileId
              additionalProperties: false
      summary: Create identities save
      x-summary-source: derived
      operationId: postIdentitiesSave
      x-operation-id-source: derived
  /identities/save-with-token:
    post:
      description: Save identity.
      tags:
      - Identities
      responses:
        '200':
          description: Identity successfully saved or updated.
        '403':
          description: Magic links aren't available in Tealde workspaces.
        '500':
          description: Unexpected error while saving the identity.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  description: id of the identity to save
                  type: string
                orgId:
                  description: org_id of the identity to save
                  type: string
                userId:
                  description: 'Ignored: the magic link page cannot choose who owns the identity'
                  type: string
                type:
                  type: string
                  enum:
                  - linkedin
                  - google
                  description: type of the identity to save
                firstName:
                  description: first name of the identity to save
                  type: string
                lastName:
                  description: last name of the identity to save
                  type: string
                profileUrl:
                  description: profile url of the identity to save
                  type: string
                profileId:
                  type: string
                  description: profile id of the identity to save
                  maxLength: 475
                profilePictureUrl:
                  description: profile picture url of the identity to save
                  type: string
                subscriptionTitles:
                  description: subscription titles of the identity to save
                  type:
                  - array
                  - 'null'
                  items:
                    type: string
                headline:
                  description: headline of the identity to save
                  type: string
                token:
                  type: string
                  description: identity token
                activeCredentials:
                  type: array
                  items:
                    type: object
                    properties:
                      sessionCookie:
                        type: string
                      userAgent:
                        type: string
                    required:
                    - sessionCookie
                    additionalProperties: false
                  description: active credentials of the identity to save - FFR - will be removed soon
                activeCredential:
                  type: object
                  properties:
                    sessionCookie:
                      type: string
                    userAgent:
                      type: string
                  required:
                  - sessionCookie
                  additionalProperties: false
                  description: active credential of the identity to save - will replace activeCredentials soon
              required:
              - type
              - profileId
              - orgId
              - token
              additionalProperties: false
      summary: Create identities save with token
      x-summary-source: derived
      operationId: postIdentitiesSaveWithToken
      x-operation-id-source: derived
  /identities/search:
    post:
      description: Search identities.
      tags:
      - Identities
      responses:
        '200':
          description: Identity successfully searched.
        '400':
          description: Bad request.
        '500':
          description: Unexpected error while searching for identities.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  description: id of the identity to search
                  type: string
                  minLength: 1
                sessionCookie:
                  description: session cookie to search
                  type: string
                profileId:
                  description: profile id to search
                  type: string
                  minLength: 1
                type:
                  description: type of identity to search. Defaults to linkedin when omitted
                  type: string
                  enum:
                  - linkedin
                  - google
              additionalProperties: false
      summary: Create identities search
      x-summary-source: derived
      operationId: postIdentitiesSearch
      x-operation-id-source: derived
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-Phantombuster-Key
x-provenance:
  method: searched
  source: https://hub.phantombuster.com/reference
  harvested: '2026-11-15'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://hub.phantombuster.com/reference/get_agents-fetch-all.md
  - https://hub.phantombuster.com/reference/get_agents-fetch-deleted.md
  - https://hub.phantombuster.com/reference/get_agents-fetch-output.md
  - https://hub.phantombuster.com/reference/get_agents-fetch.md
  - https://hub.phantombuster.com/reference/get_branches-diff.md
  - https://hub.phantombuster.com/reference/get_branches-fetch-all.md
  - https://hub.phantombuster.com/reference/get_brightdata-serp.md
  - https://hub.phantombuster.com/reference/get_buyers-personas-fetch-all.md
  - https://hub.phantombuster.com/reference/get_containers-attach.md
  - https://hub.phantombuster.com/reference/get_containers-fetch-all.md
  - https://hub.phantombuster.com/reference/get_containers-fetch-output.md
  - https://hub.phantombuster.com/reference/get_containers-fetch-result-object.md
  - https://hub.phantombuster.com/reference/get_containers-fetch.md
  - https://hub.phantombuster.com/reference/get_icps-fetch-all.md
  - https://hub.phantombuster.com/reference/get_location-ip.md
  - https://hub.phantombuster.com/reference/get_org-storage-lists-fetch-all.md
  - https://hub.phantombuster.com/reference/get_org-storage-lists-fetch.md
  - https://hub.phantombuster.com/reference/get_orgs-export-agent-usage-1.md
  - https://hub.phantombuster.com/reference/get_orgs-export-container-usage-1.md
  - https://hub.phantombuster.com/reference/get_orgs-fetch-agent-groups.md
  - https://hub.phantombuster.com/reference/get_orgs-fetch-crm-access.md
  - https://hub.phantombuster.com/reference/get_orgs-fetch-crm-resources.md
  - https://hub.phantombuster.com/reference/get_orgs-fetch-resources.md
  - https://hub.phantombuster.com/reference/get_orgs-fetch-running-containers.md
  - https://hub.phantombuster.com/reference/get_orgs-fetch.md
  - https://hub.phantombuster.com/reference/get_scoring-fetch-all.md
  - https://hub.phantombuster.com/reference/get_scoring-fetch-id.md
  - https://hub.phantombuster.com/reference/get_scripts-code.md
  - https://hub.phantombuster.com/reference/get_scripts-fetch-all.md
  - https://hub.phantombuster.com/reference/get_scripts-fetch.md
  - https://hub.phantombuster.com/reference/get_users-fetch-me.md
  - https://hub.phantombuster.com/reference/post_agents-delete.md
  - https://hub.phantombuster.com/reference/post_agents-launch-soon.md
  - https://hub.phantombuster.com/reference/post_agents-launch-sync.md
  - https://hub.phantombuster.com/reference/post_agents-launch.md
  - https://hub.phantombuster.com/reference/post_agents-save.md
  - https://hub.phantombuster.com/reference/post_agents-stop.md
  - https://hub.phantombuster.com/reference/post_agents-unschedule-all.md
  - https://hub.phantombuster.com/reference/post_ai-advice.md
  - https://hub.phantombuster.com/reference/post_ai-completions.md
  - https://hub.phantombuster.com/reference/post_branches-create.md
  - https://hub.phantombuster.com/reference/post_branches-delete.md
  - https://hub.phantombuster.com/reference/post_branches-release.md
  - https://hub.phantombuster.com/reference/post_hcaptcha.md
  - https://hub.phantombuster.com/reference/post_identities-events-save.md
  - https://hub.phantombuster.com/reference/post_identities-generate-token.md
  - https://hub.phantombuster.com/reference/post_identities-save-with-token.md
  - https://hub.phantombuster.com/reference/post_identities-save.md
  - https://hub.phantombuster.com/reference/post_identities-search.md
  - https://hub.phantombuster.com/reference/post_org-storage-companies-objects-save-many.md
  - https://hub.phantombuster.com/reference/post_org-storage-companies-objects-save.md
  - https://hub.phantombuster.com/reference/post_org-storage-companies-objects-search.md
  - https://hub.phantombuster.com/reference/post_org-storage-leads-by-list-listid.md
  - https://hub.phantombuster.com/reference/post_org-storage-leads-delete-many.md
  - https://hub.phantombuster.com/reference/post_org-storage-leads-objects-delete.md
  - https://hub.phantombuster.com/reference/post_org-storage-leads-objects-save-many.md
  - https://hub.phantombuster.com/reference/post_org-storage-leads-objects-save.md
  - https://hub.phantombuster.com/reference/post_org-storage-leads-objects-search.md
  - https://hub.phantombuster.com/reference/post_org-storage-leads-save-many.md
  - https://hub.phantombuster.com/reference/post_org-storage-leads-save.md
  - https://hub.phantombuster.com/reference/post_org-storage-lists-delete.md
  - https://hub.phantombuster.com/reference/post_org-storage-lists-save.md
  - https://hub.phantombuster.com/reference/post_orgs-save-agent-groups.md
  - https://hub.phantombuster.com/reference/post_orgs-save-crm-contact.md
  - https://hub.phantombuster.com/reference/post_orgs-save.md
  - https://hub.phantombuster.com/reference/post_recaptcha.md
  - https://hub.phantombuster.com/reference/post_scripts-access-list.md
  - https://hub.phantombuster.com/reference/post_scripts-delete.md
  - https://hub.phantombuster.com/reference/post_scripts-save.md
  - https://hub.phantombuster.com/reference/post_scripts-visibility.md
  - https://hub.phantombuster.com/reference/post_users-update-me.md
  merge:
    pages: 71
    deduped: 70
    conflicts_kept_first: 0