HydraCore
API by router

Onboarding flows

List Flows

GET
/v1/onboarding-flows

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

X-Api-Key?string|null

Response Body

Successful Response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://example.com/v1/onboarding-flows'
Example Response
[  {    "compliance_rules": {},    "created_at": "2019-08-24T14:15:22Z",    "description": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "name": "string",    "slug": "string",    "stages": [      null    ],    "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",    "updated_at": "2019-08-24T14:15:22Z"  }]

Create Flow

POST
/v1/onboarding-flows

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

X-Api-Key?string|null

Request Body

application/json
  1. body
compliance_rules?|null
description?string|null
name*Name
Lengthlength <= 200
slug*Slug
Lengthlength <= 100
stages?array<>

Response Body

Successful Response

application/json
  1. response
compliance_rules*|null
created_at*Created At
Formatdate-time
description*string|null
id*Id
Formatuuid
is_active*Is Active
name*Name
slug*Slug
stages*array<unknown>
tenant_id*Tenant Id
Formatuuid
updated_at*Updated At
Formatdate-time
Example Request
curl -X POST 'https://example.com/v1/onboarding-flows' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "slug": "string"}'
Example Response
{  "compliance_rules": {},  "created_at": "2019-08-24T14:15:22Z",  "description": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "is_active": true,  "name": "string",  "slug": "string",  "stages": [    null  ],  "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",  "updated_at": "2019-08-24T14:15:22Z"}

Get Flow

GET
/v1/onboarding-flows/{flow_id}

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

flow_id*Flow Id
Formatuuid

Header Parameters

X-Api-Key?string|null

Response Body

Successful Response

application/json
  1. response
compliance_rules*|null
created_at*Created At
Formatdate-time
description*string|null
id*Id
Formatuuid
is_active*Is Active
name*Name
slug*Slug
stages*array<unknown>
tenant_id*Tenant Id
Formatuuid
updated_at*Updated At
Formatdate-time
Example Request
curl -X GET 'https://example.com/v1/onboarding-flows/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "compliance_rules": {},  "created_at": "2019-08-24T14:15:22Z",  "description": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "is_active": true,  "name": "string",  "slug": "string",  "stages": [    null  ],  "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",  "updated_at": "2019-08-24T14:15:22Z"}

Delete Flow

DELETE
/v1/onboarding-flows/{flow_id}

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

flow_id*Flow Id
Formatuuid

Header Parameters

X-Api-Key?string|null

Response Body

Successful Response

Example Request
curl -X DELETE 'https://example.com/v1/onboarding-flows/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty

Update Flow

PUT
/v1/onboarding-flows/{flow_id}

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

flow_id*Flow Id
Formatuuid

Header Parameters

X-Api-Key?string|null

Request Body

application/json
  1. body
compliance_rules?|null
description?string|null
is_active?boolean|null
name?string|null
stages?array<>|null

Response Body

Successful Response

application/json
  1. response
compliance_rules*|null
created_at*Created At
Formatdate-time
description*string|null
id*Id
Formatuuid
is_active*Is Active
name*Name
slug*Slug
stages*array<unknown>
tenant_id*Tenant Id
Formatuuid
updated_at*Updated At
Formatdate-time
Example Request
curl -X PUT 'https://example.com/v1/onboarding-flows/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "compliance_rules": {},  "created_at": "2019-08-24T14:15:22Z",  "description": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "is_active": true,  "name": "string",  "slug": "string",  "stages": [    null  ],  "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",  "updated_at": "2019-08-24T14:15:22Z"}