DotsDocs
Flows

List all Flows

List all Flows.

GET
/v2/flows

List all Flows.

Authorization

api_key
headerAuthorizationBasic <token>

Query Parameters

limit?integer

A limit on the number of objects to be returned, between 1 and 100.

starting_after?string

A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with aaa, your subsequent call can include starting_after=aaa in order to fetch the next page of the list.

Formatuuid
ending_before?string

A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with aaa, your subsequent call can include ending_before=aaa in order to fetch the previous page of the list.

Formatuuid

Response Body

OK

application/json
  1. response
has_more?boolean

true if there are more flows.

data?array<>

Array of flow objects.

Example Request
curl -X GET 'https://api.dots.dev/api/v2/flows'
Example Response
{  "has_more": true,  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "created": "2019-08-24T14:15:22Z",      "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",      "steps": [        "compliance"      ],      "completed_steps": [        "compliance"      ],      "payout_link_id": "50673cb3-bf8b-4fdc-9f5f-114b168da4ab",      "link": "http://example.com",      "expired": true,      "metadata": "string"    }  ]}