curl --request POST \
--url https://api.dots.dev/api/v2/flows \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"steps": [
"compliance"
],
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hide_go_to_dashboard_on_complete": false,
"require_auth": false,
"metadata": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"steps": [
"compliance"
],
"completed_steps": [
"compliance"
],
"link": "<string>",
"metadata": "<string>"
}
Create a new Flow.
curl --request POST \
--url https://api.dots.dev/api/v2/flows \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"steps": [
"compliance"
],
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hide_go_to_dashboard_on_complete": false,
"require_auth": false,
"metadata": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"steps": [
"compliance"
],
"completed_steps": [
"compliance"
],
"link": "<string>",
"metadata": "<string>"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
OK
The response is of type object
.
Was this page helpful?