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.eyJzdWIiOiIxOTA3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDgxLCJleHAiOjE3NjM1NDI0ODEsImp0aSI6IjdlZmY1ZTQyLTA4YzAtNGY1ZS1iMDYxLWNmNjE0NmMyMThhOCJ9.VTgab6TcKcL7a60epWF36ZU_-fieA0DvXZ29lw6E3s8
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: 1add6a82-2a91-4c3a-8b09-dbbb9411c828
x-runtime: 0.024274
content-length: 78

Body

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