Scripts

Expose a script as an external HTTP API endpoint

Returns the endpoint plus the plaintext bearer token (when authMode is 'bearer').

post/api/scripts/{id}/apis

Path parameters

idstring uuid required

Request body

authMode'none' | 'bearer'
labelstring
agentIdstring

Response

Endpoint created

idstring required
scriptIdstring required
agentIdstring required
authMode'none' | 'bearer' required
enabledboolean required
labelstring nullable required
callCountnumber required
lastUsedAtstring nullable required
createdAtstring required
tokenstring nullable required

Changes

Changed in 1 of the 104 revisions of this API.3

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added