Flows
Retrieve a Flow
Get a Flow by its id.
GET
Get a Flow by its id.
api_keyheader
AuthorizationBasic <token>flow_id*stringId of the flow to fetch
Format
uuidOK
application/json- response
The flow object.
id?stringID of the flow.
Format
uuidcreated?stringDate that the flow was created.
Format
date-timeuser_id?|ID of the user that has claimed the flow.
Format
uuidsteps?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.
Format
uuidlink?stringURL to access the flow. Can be embedded in an iframe.
Format
uriexpired?booleanWhether 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"}