Phantombuster Users API

The users API from Phantombuster — 2 operation(s) for users.

GitHub OpenAPI

Operations 2

GET /users/fetch-me Get users fetch me #
POST /users/update-me Create users update me #

Specifications

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-users-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-users-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 Users 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: Users
paths:
  /users/fetch-me:
    get:
      description: Gets the current user's info. If a sessionId is not provided the endpoint will create a new session and return the newly created id.
      tags:
      - Users
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  sessionId:
                    type:
                    - string
                    - 'null'
                  zendeskToken:
                    type: string
                  user:
                    type: object
                    properties:
                      id:
                        type: string
                      email:
                        type: string
                      firstName:
                        type: string
                      lastName:
                        type: string
                      phone:
                        type:
                        - string
                        - 'null'
                      company:
                        type:
                        - string
                        - 'null'
                      job:
                        type:
                        - string
                        - 'null'
                      newsletter:
                        type: boolean
                      hasPixelTrackingConsent:
                        type: boolean
                      userTeam:
                        type:
                        - string
                        - 'null'
                      userCompanySize:
                        type:
                        - string
                        - 'null'
                      userGoal:
                        type:
                        - string
                        - 'null'
                      userMainPlatform:
                        type:
                        - string
                        - 'null'
                      userReferralSource:
                        type:
                        - string
                        - 'null'
                      userOutboundSalesTeamSize:
                        type:
                        - string
                        - 'null'
                      isEmailValidated:
                        type: boolean
                      userDeletionIn:
                        type:
                        - number
                        - 'null'
                      detailedOrg:
                        type: object
                        properties:
                          id:
                            type: string
                          name:
                            type: string
                            pattern: ^(deleted_\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$
                          displayName:
                            type: string
                          dailyExecutionTime:
                            type: number
                          dailyMail:
                            type: number
                          dailyCaptcha:
                            type: number
                          dailyDiscoveredMail:
                            type: number
                          dailyAiCredit:
                            type: number
                          monthlyExecutionTime:
                            type: number
                          monthlyMail:
                            type: number
                          monthlyCaptcha:
                            type: number
                          monthlyDiscoveredMail:
                            type: number
                          monthlyAiCredit:
                            type: number
                          monthlySerpCredit:
                            type:
                            - number
                            - 'null'
                          dailySerpCredit:
                            type:
                            - number
                            - 'null'
                          s3Storage:
                            type: number
                          s3Folder:
                            type: string
                          planName:
                            type: string
                          plan:
                            type: object
                            properties:
                              name:
                                type: string
                                maxLength: 100
                              s3Storage:
                                type: number
                              mongoStorage:
                                type: number
                              parallelism:
                                type: number
                              agents:
                                type: number
                              scripts:
                                type: number
                              dailyExecutionTime:
                                type: number
                              dailyMails:
                                type: number
                              dailyCaptchas:
                                type: number
                              dailyDiscoveredMails:
                                type: number
                              dailyAiCredits:
                                type: number
                              dailySerpCredits:
                                type: number
                              monthlyExecutionTime:
                                type: number
                                minimum: 0
                              monthlyMails:
                                type: number
                                minimum: 0
                              monthlyCaptchas:
                                type: number
                                minimum: 0
                              monthlyDiscoveredMails:
                                type: number
                                minimum: 0
                              monthlyAiCredits:
                                type: number
                                minimum: 0
                              monthlySerpCredits:
                                type: number
                                minimum: 0
                              isAvailable:
                                type: boolean
                              isUpgradable:
                                type: boolean
                              duration:
                                type: number
                              monthlyPrice:
                                type: number
                              yearlyPrice:
                                type: number
                              monthlyPrices:
                                type: object
                                additionalProperties:
                                  type: number
                              yearlyPrices:
                                type: object
                                additionalProperties:
                                  type: number
                              products:
                                description: Products this plan belongs to. Absent means ["pb2"].
                                type:
                                - array
                                - 'null'
                                items:
                                  type: string
                                  enum:
                                  - pb2
                                  - pb3
                                minItems: 1
                                uniqueItems: true
                            additionalProperties: false
                            required:
                            - name
                            - s3Storage
                            - mongoStorage
                            - parallelism
                            - agents
                            - scripts
                            - dailyExecutionTime
                            - dailyMails
                            - dailyCaptchas
                            - dailyDiscoveredMails
                            - dailyAiCredits
                            - isAvailable
                            - isUpgradable
                            - duration
                            - monthlyPrice
                            - yearlyPrice
                          planStartedAt:
                            type: number
                          timezone:
                            type: string
                          nbRunningContainer:
                            type: number
                          delinquentStatus:
                            type:
                            - string
                            - 'null'
                            enum:
                            - gracePeriod
                            - delinquent
                            - null
                          hasUntestedCard:
                            type: boolean
                          planShouldCancelAt:
                            type:
                            - number
                            - 'null'
                          experiments:
                            type: object
                            additionalProperties:
                              type: boolean
                          userCount:
                            type: number
                          role:
                            title: Role
                            type: string
                            enum:
                            - owner
                            - admin
                            - member
                          notifyUsage:
                            type: boolean
                          isV3:
                            type:
                            - boolean
                            - 'null'
                          customPromptOrg:
                            type:
                            - string
                            - 'null'
                            maxLength: 10000
                        additionalProperties: false
                        required:
                        - id
                        - name
                        - dailyExecutionTime
                        - dailyMail
                        - dailyCaptcha
                        - dailyDiscoveredMail
                        - dailyAiCredit
                        - monthlyExecutionTime
                        - monthlyMail
                        - monthlyCaptcha
                        - monthlyDiscoveredMail
                        - monthlyAiCredit
                        - s3Storage
                        - planName
                        - plan
                        - planStartedAt
                        - timezone
                        - nbRunningContainer
                        - hasUntestedCard
                      orgs:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                              pattern: ^(deleted_\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$
                            displayName:
                              type: string
                            planName:
                              type: string
                            role:
                              title: Role
                              type: string
                              enum:
                              - owner
                              - admin
                              - member
                            notifyUsage:
                              type: boolean
                            isV3:
                              type:
                              - boolean
                              - 'null'
                          additionalProperties: false
                          required:
                          - id
                          - name
                          - planName
                      adminRights:
                        type:
                        - string
                        - 'null'
                        enum:
                        - admin
                        - super admin
                        - monitoring
                        - null
                      isLoggedAs:
                        type: boolean
                      createdAt:
                        type: number
                      enabledExperiments:
                        type:
                        - array
                        - 'null'
                        items:
                          type: string
                          enum:
                          - hubspotWidget
                          - stepSetup
                          - myPhantoms
                          - navbar
                          - seeBetaPhantoms
                          - showCompatiblePhantomsLink
                          - advancedChat
                      developerMode:
                        type: boolean
                      customPromptUser:
                        type:
                        - string
                        - 'null'
                        maxLength: 10000
                    additionalProperties: false
                    required:
                    - id
                    - email
                    - firstName
                    - lastName
                    - newsletter
                    - isEmailValidated
                    - detailedOrg
                    - orgs
                    - createdAt
                additionalProperties: false
                required:
                - sessionId
      parameters:
      - in: header
        name: X-Phantombuster-Org
        description: ID of the org that is perfoming the operation (not necessary when using a third party key)
        schema:
          type: string
      - in: query
        name: detailedOrgId
        description: If set, the corresponding detailedOrg will be returned.
        schema:
          description: If set, the corresponding detailedOrg will be returned.
          type: string
      - in: query
        name: withCustomPrompts
        description: If true, includes customPromptUser and customPromptOrg in the response.
        schema:
          description: If true, includes customPromptOrg (and other custom prompt fields) in the response.
          type: string
      summary: Get users fetch me
      x-summary-source: derived
      operationId: getUsersFetchMe
      x-operation-id-source: derived
  /users/update-me:
    post:
      description: Updates the current user's info.
      tags:
      - Users
      responses:
        '200':
          description: User updated successfully.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                firstName:
                  type: string
                  maxLength: 100
                  description: New user first name.
                lastName:
                  type: string
                  maxLength: 100
                  description: New user last name.
                phone:
                  description: New phone number.
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                company:
                  description: New company name.
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                job:
                  description: New job name.
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                newsletter:
                  description: If set, you agree to subscribe to the newsletter.
                  type: boolean
                hasPixelTrackingConsent:
                  description: If true, the user consents to tracking pixels measuring email opens for personalization purposes.
                  type: boolean
                enabledExperiments:
                  description: Experiments you wish to enable on your account.
                  type:
                  - array
                  - 'null'
                  items:
                    type: string
                    enum:
                    - hubspotWidget
                    - stepSetup
                    - myPhantoms
                    - navbar
                    - seeBetaPhantoms
                    - showCompatiblePhantomsLink
                    - advancedChat
                developerMode:
                  description: If set, developer-specific features will be enabled.
                  type: boolean
                userTeam:
                  description: New user team.
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                userCompanySize:
                  description: New user company size.
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                userGoal:
                  description: New user goal.
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                userMainPlatform:
                  description: New user main platform.
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                userReferralSource:
                  description: How the user heard about PhantomBuster.
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                userOutboundSalesTeamSize:
                  description: How many people are involved in the user's outbound sales
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                customPromptUser:
                  description: Custom AI prompt at user level.
                  type:
                  - string
                  - 'null'
                  maxLength: 10000
              additionalProperties: false
      parameters:
      - in: header
        name: X-Phantombuster-Org
        description: ID of the org that is perfoming the operation (not necessary when using a third party key)
        schema:
          type: string
      summary: Create users update me
      x-summary-source: derived
      operationId: postUsersUpdateMe
      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