Users
Register a user
Create or update a user profile and store optional traits or handles (e.g. URLs, social profiles, or notes). This endpoint is idempotent — if the user already exists, the existing profile will be merged with the new data.
PUT /register
Purpose
Register users into the Fastino Personalization API so agents can begin ingesting context and retrieving personalized summaries.
You can call this endpoint when a user signs up, changes profile information, or when metadata such as timezone or communication preferences updates.
Endpoint
Headers
Request Body
Field | Type | Required | Description |
|---|---|---|---|
| string | ✅ Yes | A unique identifier for the user. |
| object | Optional | Metadata about the user (name, timezone, URLs, handles, notes, etc.). |
| string | Optional | Optional description of the user’s role or the purpose of this personalization context. |
Example Request
Example cURL
Example Response
Behavior
If the user already exists, traits will be merged into the existing profile.
You can safely re-send this request to synchronize updated user information.
Fields omitted from a subsequent request will not delete previous values.
Response Fields
Field | Type | Description |
|---|---|---|
| string | The unique user ID created or updated. |
| string | ISO 8601 timestamp of registration or update. |
| string | Current user status ( |
Error Responses
HTTP Code | Error Code | Description |
|---|---|---|
|
| The request body is malformed or missing required fields. |
|
| Invalid or missing API token. |
|
| Internal error — retry with exponential backoff. |
Example:
Best Practices
Use consistent, unique
user_idvalues across all integrations and tools.Include relevant metadata like timezone and locale to improve contextual predictions.
Update user traits periodically as the user’s context or behavior changes.
Store your API key securely and never expose it in client-side applications.
Related Endpoints
Endpoint | Description |
|---|---|
POST | Delete all personalization data for a user. |
POST | Ingest new data or events for a registered user. |
GET | Retrieve the user’s personalized summary. |
Summary:
Use PUT /register to initialize or update user profiles in Fastino. This endpoint forms the foundation for all personalization, enabling downstream ingestion, retrieval, and reasoning.
Join our Discord Community