auth

Create an account

Creates a user (free plan), opens a 30-day session and seeds a demo video. Returns the session token (also set as the session cookie).

post/api/auth/register

Request

  • Base URL: https://cliponit.app
  • URL: https://cliponit.app/api/auth/register
  • Auth: none required

Request body

emailstring email required
namestring required
passwordstring required

Response

User + session token (also set as session cookie)

tokenstring required

Session token (64 hex), usable as Authorization: Bearer <token> for 30 days

Example response

{
  "user": {
    "id": "6f1c2d6e-3b1a-4c0f-9a0e-2f5d1c7b8e90",
    "locale": "fr"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.