Skip to main content
POST
/
auth
/
register
curl -X POST https://app.drime.cloud/api/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{
    "email": "newuser@example.com",
    "password": "securepassword123",
    "device_name": "My App"
  }'
{
  "status": "success",
  "user": {
    "id": 15844,
    "email": "newuser@example.com",
    "display_name": "newuser",
    "access_token": "124|xyz789...",
    "created_at": "2024-01-20T10:00:00.000000Z",
    "updated_at": "2024-01-20T10:00:00.000000Z"
  }
}

Overview

Creates a new Drime Cloud account and returns the user object with an access token.
This endpoint does not require authentication.

Request Body

email
string
required
A valid email address for the new account
password
string
required
Password for the account (minimum 8 characters recommended)
device_name
string
required
A name to identify this device/application

Response

status
string
The status of the request (success or error)
user
object
The newly created user object with access token
curl -X POST https://app.drime.cloud/api/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{
    "email": "newuser@example.com",
    "password": "securepassword123",
    "device_name": "My App"
  }'
{
  "status": "success",
  "user": {
    "id": 15844,
    "email": "newuser@example.com",
    "display_name": "newuser",
    "access_token": "124|xyz789...",
    "created_at": "2024-01-20T10:00:00.000000Z",
    "updated_at": "2024-01-20T10:00:00.000000Z"
  }
}