Skip to main content
GET
/
jobs
List jobs
curl --request GET \
  --url https://api.togai.com/jobs \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "type": "<string>",
      "status": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "nextToken": "<string>",
  "context": {
    "pageSize": 123,
    "sortOrder": "ASC"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

nextToken
string
Example:

"eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ=="

pageSize
number
Example:

10

Response

Response for list customers request

data
object[]
nextToken
string
context
object