Skip to content

User

id string
Required

The unique identifier for the user.

email string
Required

The primary email address of the user.

role enum
Required

The access level granted to the user.

createdAt string
Required

ISO 8601 timestamp of when the user was created.

metadata object
Optional

Optional metadata associated with the user profile.

View Properties
lastLogin string
Optional

Timestamp of the last successful login.

preferences Record<string, string>
Optional

Arbitrary key-value pairs for user preferences.

Copy these snippets to integrate the User API into your application.

Terminal window
curl -X POST "https://api.cloudstart.dev/v1/users" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"id":"...","email":"...","role":"...","createdAt":"...","metadata":"..."}'

Use the playground below to simulate creating a new User object. This executes a live fetch request directly from your browser.

POSThttps://api.cloudstart.dev/v1/users
Bearer Token
Body (JSON)