Skip to content

Create New Snippet

PUT
/snippet

Creates a new code snippet that can be reused across different sessions and servers.

Authorizations

BearerAuth

Enter your session token to authenticate API requests

TypeHTTP (bearer)

Request Body

application/json
JSON
{
"name": "string",
"command": "string",
"description": "string"
}

Responses

Snippet successfully created with new snippet ID
application/json
JSON
{
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

Distributed under the MIT License