Platform API reference

Platform API · Authentication

get/v1/auth/signup-policy

How new accounts can be created right now

Public. While `mode` is `invite_only`, `POST /v1/auth/signup` accepts only an email with a pending workspace invite (or one on the early-access list) and answers anyone else `403 SIGNUP_NOT_ALLOWED`.

Response · 200

mode*object

`invite_only`: a new account needs a pending workspace invite (or early access). `open`: anyone can sign up.

Example: "invite_only"

contact_email*string · email

Where to ask for access while signup is invite-only.

Example: "hello@productcraft.co"

waitlist_url*string · uri

The public waitlist to join while signup is invite-only.

Example: "https://productcraft.co/waitlist"

Example

Request

GET https://api.platform-auth.productcraft.co/v1/auth/signup-policy

Response

{
  "mode": "invite_only",
  "contact_email": "hello@productcraft.co",
  "waitlist_url": "https://productcraft.co/waitlist"
}