Phantombuster Branches API
The branches API from Phantombuster — 5 operation(s) for branches.
The branches API from Phantombuster — 5 operation(s) for branches.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/phantombuster:phantombuster-branches-api"
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.
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: 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 Branches 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: Branches
paths:
/branches/create:
post:
description: Creates a new branch.
tags:
- Branches
responses:
'200':
description: New branch created successfully.
content:
application/json:
schema:
type: object
properties:
id:
type: string
name:
type: string
pattern: ^[\w-]{1,50}$
additionalProperties: false
required:
- id
- name
'400':
description: A branch already exists with the provided name.
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
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
description: Name of the branch to create.
type: string
pattern: ^[\w-]{1,50}$
additionalProperties: false
required:
- name
summary: Create branches create
x-summary-source: derived
operationId: postBranchesCreate
x-operation-id-source: derived
/branches/delete:
post:
description: Deletes a branch by id.
tags:
- Branches
responses:
'200':
description: Branch deleted successfully.
'400':
description: No branch exists with the provided id.
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
requestBody:
content:
application/json:
schema:
type: object
properties:
id:
description: Id of the branch to delete.
type: string
additionalProperties: false
required:
- id
summary: Create branches delete
x-summary-source: derived
operationId: postBranchesDelete
x-operation-id-source: derived
/branches/diff:
get:
tags:
- Branches
description: Gets the length difference between the staging and release branch of all scripts.
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
pattern: ^\w([\w\. -]{0,48}\w)?\.(?:coffee|js)$
diffLength:
type: number
stagingVisibility:
type: string
enum:
- private
- semi public
- public
- semi open source
- open source
releaseVisibility:
type: string
enum:
- private
- semi public
- public
- semi open source
- open source
stagingAccessList:
type:
- array
- 'null'
items:
type: string
pattern: ^(deleted_\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$
releaseAccessList:
type:
- array
- 'null'
items:
type: string
pattern: ^(deleted_\d{1,16}-)?[a-z][a-z0-9-_]{1,48}[a-z0-9_]$
additionalProperties: false
required:
- id
- name
- diffLength
- stagingVisibility
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: name
description: Name of the script branch to fetch the diff from.
schema:
type: string
pattern: ^[\w-]{1,50}$
summary: Get branches diff
x-summary-source: derived
operationId: getBranchesDiff
x-operation-id-source: derived
/branches/fetch-all:
get:
description: Gets the branches associated with the current organization's id.
tags:
- Branches
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
pattern: ^[\w-]{1,50}$
created_at:
type: number
additionalProperties: false
required:
- id
- name
- created_at
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: Get branches fetch all
x-summary-source: derived
operationId: getBranchesFetchAll
x-operation-id-source: derived
/branches/release:
post:
description: Releases a script branch.
tags:
- Branches
responses:
'200':
description: Branch released successfully.
'400':
description: No script specified or no such branch.
'412':
description: None of the scripts exist in the specified branch.
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
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
description: Name of the branch to release.
type: string
pattern: ^[\w-]{1,50}$
scriptIds:
type: array
description: Ids of the scripts to release.
items:
type: string
additionalProperties: false
required:
- name
- scriptIds
summary: Create branches release
x-summary-source: derived
operationId: postBranchesRelease
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