API by router
Customer signup
POST
application/json- body
company_name*Company NameLength
1 <= length <= 200email*EmailFormat
emailplan?PlanLength
length <= 50Default
"starter"tenant_slug*Tenant SlugLength
1 <= length <= 100Successful Response
application/json- response
customer_id*Customer IdFormat
uuidmessage?MessageDefault
"Check your email to get started"site_url?string|nullcurl -X POST 'https://example.com/v1/public/signup' \ -H 'Content-Type: application/json' \ -d '{ "company_name": "string", "email": "user@example.com", "tenant_slug": "string"}'Example Response
{ "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "message": "Check your email to get started", "site_url": "string"}GET
tenant_slug*Tenant SlugSuccessful Response
application/json- response
[index: integer]?curl -X GET 'https://example.com/v1/public/signup/plans/string'Example Response
[ { "description": "string", "features": [ "string" ], "name": "string", "price": "string" }]POST
application/json- body
code*CodeLength
6 <= length <= 6email*EmailFormat
emailtenant_slug*Tenant SlugLength
1 <= length <= 100Successful Response
application/json- response
access_token*Access Tokencustomer_id*Customer IdFormat
uuidexpires_in?Expires InDefault
3600refresh_token*Refresh Tokentenant_id*Tenant IdFormat
uuidtoken_type?Token TypeDefault
"bearer"curl -X POST 'https://example.com/v1/public/signup/verify' \ -H 'Content-Type: application/json' \ -d '{ "code": "string", "email": "user@example.com", "tenant_slug": "string"}'Example Response
{ "access_token": "string", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "expires_in": 3600, "refresh_token": "string", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "token_type": "bearer"}