Loading API reference…
/organization-onboardingsapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
curl -X POST "https://example.com/organization-onboardings" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "slug": "string", "timezone": "string", "departments": [ "growth" ] }'{ "success": true, "statusCode": 201, "message": "Organization onboarding created.", "data": {}, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}{ "success": false, "statusCode": 400, "message": "Validation failed.", "error": { "code": "request_failed" }, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}{ "success": false, "statusCode": 409, "message": "An organization with this slug already exists.", "error": { "code": "request_failed" }, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}/organizations/{organizationId}/onboardingOrganization identifier.
uuidapplication/json
application/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/onboarding"{ "success": true, "statusCode": 200, "message": "Organization onboarding found.", "data": {}, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}{ "success": false, "statusCode": 404, "message": "Organization not found.", "error": { "code": "request_failed" }, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}/organizations/{organizationId}/onboardingOrganization identifier.
uuidapplication/json
application/json
curl -X DELETE "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/onboarding"{ "success": true, "statusCode": 200, "message": "Organization onboarding discarded.", "data": {}, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}{ "success": false, "statusCode": 409, "message": "Onboarding state does not permit this action.", "error": { "code": "request_failed" }, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}/organizations/{organizationId}/onboarding/sources/{sourceId}Organization identifier.
uuiduuidapplication/json
application/json
curl -X DELETE "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/onboarding/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "success": true, "statusCode": 200, "message": "Onboarding source deleted.", "data": {}, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}{ "success": false, "statusCode": 409, "message": "Onboarding state does not permit this action.", "error": { "code": "request_failed" }, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}/organizations/{organizationId}/onboarding/sources/{sourceId}Accepts one raw supported source with a maximum size of 50 MB.
Organization identifier.
uuiduuidDepartment evidence scope. Omit for organization-wide evidence.
Value in
Value in
application/octet-stream
TypeScript Definitions
Use the request body type in TypeScript.
binaryapplication/json
application/json
application/json
application/json
curl -X PUT "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/onboarding/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08?kind=file&fileName=string&mediaType=string" \ -H "Content-Type: application/octet-stream" \ -d 'string'{ "success": true, "statusCode": 201, "message": "Onboarding source stored.", "data": {}, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}{ "success": false, "statusCode": 400, "message": "Validation failed.", "error": { "code": "request_failed" }, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}{ "success": false, "statusCode": 413, "message": "Source files cannot exceed 50 MB.", "error": { "code": "request_failed" }, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}{ "success": false, "statusCode": 415, "message": "Source type is unsupported.", "error": { "code": "request_failed" }, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}/organizations/{organizationId}/onboarding/startOrganization identifier.
uuidapplication/json
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/onboarding/start"{ "success": true, "statusCode": 200, "message": "Organization onboarding started.", "data": {}, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}{ "success": false, "statusCode": 409, "message": "Onboarding state does not permit this action.", "error": { "code": "request_failed" }, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}/organizations/{organizationId}/onboarding/completeOrganization identifier.
uuidapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/onboarding/complete" \ -H "Content-Type: application/json" \ -d '{ "reviewSha256": "string", "allowWarnings": true }'{ "success": true, "statusCode": 200, "message": "Organization onboarding completed.", "data": {}, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}{ "success": false, "statusCode": 409, "message": "Onboarding state does not permit this action.", "error": { "code": "request_failed" }, "meta": { "timestamp": "2026-07-14T08:00:00.000Z" }}