Profiles API
Overview
Manage user and community profiles, including registration and community creation.
Registration
Verify Profile
Verify identity availability before registration or community creation. This endpoint checks if an identity tag is available and can be used.
Authentication: Not required
Request:
| Field | Type | Required | Description |
|---|---|---|---|
idTag |
string | Yes | The identity tag to verify |
type |
string | Yes | Identity type: idp (hosted) or domain (self-hosted) |
appDomain |
string | No | Application domain (for domain type) |
token |
string | No | Verification token (for unauthenticated requests) |
Response:
Example:
Register User
Register a new user account. This initiates the registration process and sends a verification email.
Authentication: Not required
Request:
| Field | Type | Required | Description |
|---|---|---|---|
type |
string | Yes | Identity type: idp or domain |
idTag |
string | Yes | Desired identity tag |
email |
string | Yes | Email address for verification |
token |
string | Yes | Registration token |
appDomain |
string | No | Application domain (for domain type) |
lang |
string | No | Preferred language code |
Response:
Example:
Create Community
Create a new community profile. The authenticated user becomes the community owner.
Authentication: Required
Path Parameters:
id_tag- The identity tag for the new community
Request:
| Field | Type | Required | Description |
|---|---|---|---|
type |
string | Yes | Identity type: idp or domain |
name |
string | No | Community display name |
profilePic |
string | No | Profile picture file ID |
appDomain |
string | No | Application domain (for domain type) |
Response:
Example:
Community Ownership
The authenticated user who creates the community becomes the owner. Only the owner can manage community settings and membership.
Profile Management
Get Own Profile
Get the authenticated user’s profile (requires authentication). For the public server identity endpoint, see GET /api/me in the Authentication API.
Authentication: Required
Example:
Response:
Update Own Profile
Update the authenticated user’s profile.
Authentication: Required
Request:
Upload Profile Image
Upload or update your profile picture.
Authentication: Required
Content-Type: Image type (e.g., image/jpeg, image/png)
Request Body: Raw image binary data
Example:
Response:
Upload Cover Image
Upload or update your cover photo.
Authentication: Required
Content-Type: Image type (e.g., image/jpeg, image/png)
Request Body: Raw image binary data
Example:
Response:
Get Profile
Get a specific user or community profile.
Example:
List Profiles
List all accessible profiles.
Authentication: Required
Query Parameters:
type- Filter by type (person,community)status- Filter by status (comma-separated)connected- Filter by connection status (disconnected,pending,connected)following- Filter by follow status (true/false)q- Search query for nameidTag- Filter by specific identity tag
Example:
Update Relationship
Update your relationship with another profile (follow, block, etc.).
Authentication: Required
Request:
Response:
Admin: Update Profile
Admin endpoint to update any user’s profile.
Authentication: Required (admin role)
Request:
Response:
See Also
- Authentication API - Login, logout, and token management
- Actions API - Profile-related actions (follow, connect)
- IDP API - Identity provider management