HydraCore
API by router

Onboarding

Complete Onboarding

POST
/v1/onboarding/complete

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

X-Api-Key?string|null

Response Body

Successful Response

application/json
  1. response
message*Message
onboarding_completed?Onboarding Completed
Defaulttrue
Example Request
curl -X POST 'https://example.com/v1/onboarding/complete'
Example Response
{  "message": "string",  "onboarding_completed": true}

Setup Organisation

POST
/v1/onboarding/setup

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

X-Api-Key?string|null

Request Body

application/json
  1. body

Step 1: Organisation details.

company_name*Company Name
Length1 <= length <= 200
industry?|null

Response Body

Successful Response

application/json
  1. response

Current onboarding state for the authenticated user's customer.

company_name?string|null
industry?string|null
onboarding_completed*Onboarding Completed
subscription_status?string|null
tier_name?string|null
trial_ends_at?string|null
Example Request
curl -X POST 'https://example.com/v1/onboarding/setup' \  -H 'Content-Type: application/json' \  -d '{  "company_name": "string"}'
Example Response
{  "company_name": "string",  "industry": "string",  "onboarding_completed": true,  "subscription_status": "string",  "tier_name": "string",  "trial_ends_at": "string"}

Get Onboarding Status

GET
/v1/onboarding/status

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

X-Api-Key?string|null

Response Body

Successful Response

application/json
  1. response

Current onboarding state for the authenticated user's customer.

company_name?string|null
industry?string|null
onboarding_completed*Onboarding Completed
subscription_status?string|null
tier_name?string|null
trial_ends_at?string|null
Example Request
curl -X GET 'https://example.com/v1/onboarding/status'
Example Response
{  "company_name": "string",  "industry": "string",  "onboarding_completed": true,  "subscription_status": "string",  "tier_name": "string",  "trial_ends_at": "string"}