Skip to main content
POST
Verify email with OTP code

Body

application/json
email
string<email>
required

The email address used during signup.

Maximum string length: 320
Example:

"dev@acmecorp.com"

otp_code
string
required

The 6-digit OTP sent to the email.

Required string length: 6
Pattern: ^\d{6}$
Example:

"123456"

Response

Successful Response

id
string
required

Unique workspace ID.

Example:

"ws_01J8QR2K5VKDGN2T4FBM3CZYX8"

name
string
required

Display name for the workspace.

Example:

"Acme Corp"

created_at
string<date-time>
required

ISO-8601 UTC timestamp when the workspace was created.

email
string | null

Contact email for the workspace owner.

Example:

"dev@acmecorp.com"

email_verified
boolean
default:false

Whether the email address has been verified via OTP.

plan
enum<string>
default:free

Current billing plan: free, pro, or enterprise.

Available options:
free,
pro,
enterprise
Example:

"free"

plan_status
enum<string>
default:active

Billing status: active, past_due, cancelled, or trialing.

Available options:
active,
past_due,
cancelled,
trialing
Example:

"active"