Yapper API
Api reference
POST
/sessions/{sessionId}/assets

Adds existing team assets to a session so they appear in it in the web app. Membership only: where an asset was created (Asset.sessionId) does not change. Already-member, deleted, and unknown ids are skipped. Free.

Authorization

bearerAuth processes:write
AuthorizationBearer <token>

In: header

Scope: processes:write

Path Parameters

sessionId*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

application/json

curl -X POST "https://example.com/sessions/string/assets" \  -H "Content-Type: application/json" \  -d '{    "assetIds": [      "string"    ]  }'
{  "sessionId": "string",  "addedAssetIds": [    "string"  ]}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}