POST /v1/projects/{id}/users
Creates or reconciles a User by normalized handle. WhatsApp and iMessage phone classification uses line allocation and project ownership; New iMessage email handles start as Human without lookup; existing email identities retain their producer-observed classification and ownership. WhatsApp Business uses project ownership. These three platforms perform no provider profile or enrichment fetch. Shared Agents expose type=shared without ownership IDs; dedicated Agents expose resourceId for this project or pairwise managedBy for another project. Dedicated lines without an active owner are unavailable. SMS retains its existing ownership and phone number enrichment behavior. Email retains domain ownership resolution, lowercase ASCII domains and case-preserved local parts. Dependency failures fail before classification writes. The natural identity is the project path ID, platform, and handle. Retrying after a committed creation whose response was lost returns the same User with 200 rather than replaying 201.
- TypeScript
- Python
- Rust
- Go
TypeScript
Parameters
string
required
Body
string
required
Platform
required
Returns
200 The existing User after authoritative classification and any required repair. PlatformUser
string (date-time)
required
When Photon first persisted this resource.
TelegramUserDetails
required
string
required
string
required
string
required
ResourceMetadata
required
Platform
required
string
required
string (date-time)
required
When Photon last persisted a change to this resource’s public state.
201 The User was created from the platform’s resolved identity and authoritative observations. PlatformUser
Headers: Location. The raw response carries these headers; see Raw responses.
string (date-time)
required
When Photon first persisted this resource.
TelegramUserDetails
required
string
required
string
required
string
required
ResourceMetadata
required
Platform
required
string
required
string (date-time)
required
When Photon last persisted a change to this resource’s public state.