---
updatedAt: 2026-10-10T21:53:17.000Z
agentTools:
  projectIndex: https://developers.leadboxer.com/llms.txt
---

# Process user signup

Registers a new user.

On success, the API returns:
- accountId
- userId
- datasetId
- trialEndDate

The returned accountId should be used in the generate API key endpoint.


# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "LeadBoxer Onboarding API",
    "version": "1.0.0",
    "description": "Endpoint for registering a new user and provisioning an account and dataset."
  },
  "servers": [
    {
      "url": "https://api.leadboxer.com",
      "description": "Production"
    }
  ],
  "tags": [
    {
      "name": "Onboarding",
      "description": "User signup and initial account provisioning"
    }
  ],
  "paths": {
    "/v1/management/on-boarding/process-user-signup": {
      "post": {
        "tags": [
          "Onboarding"
        ],
        "summary": "Process user signup",
        "operationId": "processUserSignup",
        "description": "Registers a new user.\n\nOn success, the API returns:\n- accountId\n- userId\n- datasetId\n- trialEndDate\n\nThe returned accountId should be used in the generate API key endpoint.\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProcessUserSignupRequest"
              },
              "example": {
                "email": "name@domain.com",
                "password": "6g867890",
                "timezone": "America/New_York",
                "currency": "USD"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "User registration completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProcessUserSignupResponse"
                },
                "example": {
                  "status": "success",
                  "message": "User registration completed successfully",
                  "userDetails": {
                    "accountId": "37bb44521cb94477bf60498c6be7f3b0",
                    "userId": 18569,
                    "datasetId": "3d4748565c1e4ee5bbb4d64cc5d2373f",
                    "trialEndDate": "2026-04-22T00:00:00.000Z"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Validation failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorResponse"
                },
                "example": {
                  "type": "https://developers.leadboxer.com/docs/validation-failed",
                  "title": "Multiple Validation Errors",
                  "status": 400,
                  "detail": "Request contains multiple validation errors",
                  "instance": "/v1/management/on-boarding/process-user-signup",
                  "errors": [
                    {
                      "field": "password",
                      "message": "Password must be at least 8 characters long"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ProcessUserSignupRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "email",
          "password",
          "timezone",
          "currency"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email",
            "description": "Email address of the user to register.",
            "example": "name@domain.com"
          },
          "password": {
            "type": "string",
            "minLength": 8,
            "description": "Password must be at least 8 characters long.",
            "example": "6g867890"
          },
          "timezone": {
            "type": "string",
            "description": "IANA timezone identifier.",
            "example": "America/New_York"
          },
          "currency": {
            "type": "string",
            "description": "ISO 4217 currency code.",
            "minLength": 3,
            "maxLength": 3,
            "example": "USD"
          }
        }
      },
      "ProcessUserSignupResponse": {
        "type": "object",
        "required": [
          "status",
          "message",
          "userDetails"
        ],
        "properties": {
          "status": {
            "type": "string",
            "example": "success"
          },
          "message": {
            "type": "string",
            "example": "User registration completed successfully"
          },
          "userDetails": {
            "$ref": "#/components/schemas/UserDetails"
          }
        }
      },
      "UserDetails": {
        "type": "object",
        "required": [
          "accountId",
          "userId",
          "datasetId",
          "trialEndDate"
        ],
        "properties": {
          "accountId": {
            "type": "string",
            "pattern": "^[A-Fa-f0-9]{32}$",
            "minLength": 32,
            "maxLength": 32,
            "description": "Generated account identifier.",
            "example": "37bb44521cb94477bf60498c6be7f3b0"
          },
          "userId": {
            "type": "integer",
            "example": 18569
          },
          "datasetId": {
            "type": "string",
            "pattern": "^[A-Fa-f0-9]{32}$",
            "minLength": 32,
            "maxLength": 32,
            "description": "Generated dataset identifier.",
            "example": "3d4748565c1e4ee5bbb4d64cc5d2373f"
          },
          "trialEndDate": {
            "type": "string",
            "format": "date",
            "example": "2026-04-22T00:00:00.000Z"
          }
        }
      },
      "ValidationErrorResponse": {
        "type": "object",
        "required": [
          "type",
          "title",
          "status",
          "detail",
          "instance",
          "errors"
        ],
        "properties": {
          "type": {
            "type": "string",
            "format": "uri",
            "example": "https://developers.leadboxer.com/docs/validation-failed"
          },
          "title": {
            "type": "string",
            "example": "Multiple Validation Errors"
          },
          "status": {
            "type": "integer",
            "example": 400
          },
          "detail": {
            "type": "string",
            "example": "Request contains multiple validation errors"
          },
          "instance": {
            "type": "string",
            "example": "/v1/management/on-boarding/process-user-signup"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationErrorItem"
            }
          }
        }
      },
      "ValidationErrorItem": {
        "type": "object",
        "required": [
          "field",
          "message"
        ],
        "properties": {
          "field": {
            "type": "string",
            "example": "password"
          },
          "message": {
            "type": "string",
            "example": "Password must be at least 8 characters long"
          }
        }
      }
    }
  }
}
```