Skip to main content
POST
AI draft a custom-function script

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

id
integer
required

Integration mapping ID

Body

application/json
instruction
string
required

Description of what the script should do.

Maximum string length: 2000
sample_value
any | null

Optional sample input value to draft the script against.

Response

Successful response

data
object