Workflow Runs

Create applicant, workflow and return sdk token

POST create workflow run

Endpoint

POST /api/v1/users/workflow_runs

Request

Route

POST /api/v1/users/workflow_runs

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTU0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDE2LCJleHAiOjE3NjYyMTg0MTYsImp0aSI6ImVmOTk2ODI5LWYzMzktNGJkMy05OTJmLWQyMjRhZTk2ODhhNyJ9.wxr7Ayv8WAW74mDnT8pDZw7U6v7NMKbK6tsALNNjfeU
Host: example.org
Cookie: 

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"e849cbc3a36ff1262495c35109b898dc"
cache-control: max-age=0, private, must-revalidate
x-request-id: c144ec4c-9905-4ce2-bc03-a90057bff170
x-runtime: 0.021316
content-length: 78

Body

{
  "workflow_run": {
    "id": 1,
    "sdk_token": "test_token",
    "workflow_run_id": "test_id"
  }
}