Skip to main content
POST
Create a Support Script

Authorizations

Authorization
string
header
required

A user API token, or a product API key created in a product's settings.

A product API key only works on the routes for its own product, under /api/orgs/{org_name}/products/{product_name}, and on /api/devices/{identifier} for that product's devices. What it may do there is decided by the role it holds, the same way a member's role decides what they may do.

Path Parameters

org_name
string
required

Organization Name

product_name
string
required

Product Name

Body

application/json

Support Script creation request body

POST body for adding a Support Script to a Product

name
string
required
text
string
required
language
enum<string>
default:elixir

How the device should interpret text. Defaults to Elixir.

Available options:
elixir,
shell
tags

A list of tags, or one comma-separated string of them. A tag cannot contain spaces.

Response

Support Scripts

Response schema for a single Support Script

data
SupportScript · object
Example: