DotsDocs
Flows

Retrieve a Flow

Get a Flow by its id.

GET
/v2/flows/{flow_id}

Get a Flow by its id.

Authorization

api_key
headerAuthorizationBasic <token>

Path Parameters

flow_id*string

Id of the flow to fetch

Formatuuid

Response Body

OK

application/json
  1. response

The flow object.

id?string

ID of the flow.

Formatuuid
created?string

Date that the flow was created.

Formatdate-time
user_id?|

ID of the user that has claimed the flow.

Formatuuid
steps?array<>

Array of steps in the flow.

completed_steps?array<>

Array of steps that have been completed in the flow.

payout_link_id?|

ID of the payout link associated with this flow, if one exists.

Formatuuid
link?string

URL to access the flow. Can be embedded in an iframe.

Formaturi
expired?boolean

Whether the flow has expired. Only returned when retrieving a single flow.

metadata?||

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

Example Request
curl -X GET 'https://api.dots.dev/api/v2/flows/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "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"}