Yapper API
Api reference
GET
/sessions

Lists the team's sessions, the workspaces that group generations in the Yapper web app, newest first. Pass query to search titles over the most recent sessions instead; search returns a single page. A newly created session appears in this list within a few seconds; GET /sessions/{sessionId} reads it immediately. Uses the processes:read scope.

Authorization

bearerAuth processes:read
AuthorizationBearer <token>

In: header

Scope: processes:read

Query Parameters

query?string

Words to match against session titles.

Lengthlength <= 200
limit?integer
Range1 <= value <= 100
Default20
cursor?string

Opaque pagination cursor — pass the nextCursor from the previous page verbatim. nextCursor is null on the last page.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/sessions"
{  "data": [    {      "id": "string",      "title": "string",      "imageUrl": "http://example.com",      "imageAssetId": "string",      "generations": {        "inProgress": 0,        "completed": 0      },      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "webUrl": "http://example.com",      "links": {        "self": "string"      }    }  ],  "nextCursor": "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"  }}