opensesh docs

Create or update a library item

POST
/events/{eventId}/library

Pass id: null to create; an existing id updates that item.

Authorization

bearerAuth
AuthorizationBearer <token>

An organization API key (osk_…)

In: header

Path Parameters

eventId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/events/string/library" \  -H "Content-Type: application/json" \  -d '{    "kind": "track",    "id": "string",    "name": "string"  }'
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "eventId": "string",  "name": "string",  "position": 0,  "color": "string"}