Genesys Scripts API

Agent-facing scripts for interactions

GitHub OpenAPI

Operations 15

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v2/scripts/{scriptId}/export Export a script as a download · Export a script via download service #
Ask an LLM
“How do I download a script as a file for backup?”
“Can I export a specific version of a script?”
Tell an agent
Export script {script} as a download.
Download script {script} version {version}.
GET /api/v2/scripts/uploads/{uploadId}/status Check an imported script's upload status · Get the upload status of an imported script #
Ask an LLM
“Has my imported script finished uploading?”
“Can I poll an import upload until it completes?”
Tell an agent
Check the upload status of import {upload}.
Poll import {upload} with long polling set to {poll}.
GET /api/v2/scripts/{scriptId}/pages/{pageId} Get one page of a script · Get a page #
Ask an LLM
“What does a single page of a script contain?”
“Can I fetch one page of a script by its ID?”
Tell an agent
Get page {page} of script {script}.
Show the {page}th page of script {script}.
GET /api/v2/scripts/{scriptId}/pages List the pages of a script · Get the list of pages #
Ask an LLM
“Which pages make up a script?”
“Can I list all pages of a script in order?”
Tell an agent
List the pages of script {script}.
Show every page in script {script}.
GET /api/v2/scripts/published/{scriptId}/pages/{pageId} Get one published script page · Get the published page #
Ask an LLM
“How do I read a single page of a published script?”
“Can I get a published script page for a specific script and page ID?”
Tell an agent
Get published page {pageId} of script {scriptId}.
Show page {pageId} of the published script {scriptId} at version {scriptDataVersion}.
GET /api/v2/scripts/published/{scriptId}/pages List the published pages of a script · Get the list of published pages #
Ask an LLM
“Which pages are in the published version of a script?”
“Can I list published pages of a script?”
Tell an agent
List the published pages of script {script}.
Show every published page in script {script}.
GET /api/v2/scripts/published/{scriptId} Get the published script · Get the published script #
Ask an LLM
“What is the published version of a script?”
“Can I fetch the published script by its ID?”
Tell an agent
Get the published script {script}.
Show the published version of script {script}.
GET /api/v2/scripts/published/divisionviews List published scripts across divisions · Get the published scripts metadata #
Ask an LLM
“Which published scripts exist across my divisions?”
“Can I filter published scripts by division?”
Tell an agent
List published scripts across divisions {divisionIds}.
Show published scripts named {name} in divisions {divisionIds}.
GET /api/v2/scripts/published List published scripts · Get the published scripts #
Ask an LLM
“What scripts are published in my org?”
“Can I filter published scripts by flow or feature?”
Tell an agent
List published scripts.
Show published scripts for flow {flowId}.
POST /api/v2/scripts/published Publish a script · Publish a script #
Ask an LLM
“How do I publish a script so agents can use it?”
“Can I publish a specific version of a script?”
Tell an agent
Publish script {script}.
Publish version {version} of script {script}.
GET /api/v2/scripts/published/divisionviews/{scriptId}/variables Get published script variables · Get the published variables #
Ask an LLM
“Can I fetch the published variables for a script?”
“What input and output variables does a published script have?”
Tell an agent
Get the published variables of script {scriptId}.
Show input variables for published script {scriptId}.
GET /api/v2/scripts/published/{scriptId}/variables List published variables of a script · Get the published variables #
Ask an LLM
“What variables are published in a script?”
“Can I filter a script's published variables by input or output?”
Tell an agent
List published variables of script {script}.
Show published variables of type {type} in script {script}.
GET /api/v2/scripts/{scriptId} Get a script · Get a script #
Ask an LLM
“What does a script contain before it is published?”
“Can I fetch an unpublished script by its ID?”
Tell an agent
Get script {script}.
Show the current version of script {script}.
GET /api/v2/scripts/divisionviews List published scripts for a division · Get the metadata for a list of scripts #
Ask an LLM
“Which scripts are published in a given division?”
“Can I filter published scripts by name or flow?”
Tell an agent
List published scripts in division {divisionIds}.
Find published scripts named {name} with status {feature}.
GET /api/v2/scripts List scripts · Get the list of scripts #
Ask an LLM
“Which scripts are available in my org?”
“Can I filter scripts by name or feature?”
Tell an agent
List all scripts.
Show scripts named {name}.

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/genesys:genesys-scripts-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

genesys-scripts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
  version: v2
  title: PureCloud Platform Scripts API
  termsOfService: https://help.genesys.cloud/articles/terms-and-conditions/
  contact:
    name: PureCloud Developer Evangelists
    url: https://developer.genesys.cloud/
    email: DeveloperEvangelists@genesys.com
  license:
    name: UNLICENSED
    url: https://help.genesys.cloud/articles/terms-and-conditions/
servers:
- url: https://api.mypurecloud.com
tags:


# --- truncated at 32 KB (122 KB total) ---
# Full source: https://artifacts.apis.io/genesys/openapi/genesys-scripts-api-openapi.yml