Script Forge

List

Retrieve a paginated list of Script Forge records. Supports filtering, sorting, and search.

get/api/cp/scriptforge

Query parameters

type'legacy' | 'script' | 'app' | 'debug' | 'driver' | 'worker' | 'quickjs'

Filter by Type

Response

Successful response

idinteger

Id

account_idinteger

Account Id (references account.id)

app_idstring

App Id

uuidstring uuid

Uuid

namestring

Name

languagestring

Language

codestring

Code

timeoutinteger

Timeout

processesinteger

Processes

activeinteger

Active

form_idinteger

Form Id

asyncinteger

Async

publicinteger

Public

type'legacy' | 'script' | 'app' | 'debug' | 'driver' | 'worker' | 'quickjs'

Type

versionstring

Version

scriptforge_repo_idinteger

Scriptforge Repo Id

scriptforge_repo_versionstring

Scriptforge Repo Version

c5_deststring

C 5 Dest

pbx_serverstring

Pbx Server

global_routing_priorityinteger

Global Routing Priority

cronstring

Cron

raminteger

Ram

loadnumber

Load

hostsstring

Hosts

Example response

[
  {
    "id": 12345,
    "account_id": 1,
    "app_id": 1,
    "uuid": "example_uuid",
    "name": "Example Name",
    "language": "example_language",
    "code": "Sample code text content",
    "timeout": 123,
    "processes": 1,
    "active": true,
    "form_id": 1,
    "async": 1,
    "public": 1,
    "type": "legacy",
    "version": "example_version",
    "scriptforge_repo_id": 1,
    "scriptforge_repo_version": "example_scriptforge_repo_version",
    "c5_dest": "example_c5_dest",
    "pbx_server": "example_pbx_server",
    "global_routing_priority": 1,
    "cron": "example_cron",
    "ram": 123,
    "load": 1.5,
    "hosts": "example_hosts"
  }
]

Changes

No recorded changes to this endpoint across all 1 revision of this API.