Create or update a user identifier.
This endpoint uses upsert logic - if an identifier with the same organization, user, integration source, and key already exists, it updates it.
Args: organization_id: Organization ID user_id: User ID identifier: Identifier data to create/update db: Database session current_user_id: Current authenticated user ID
Returns: Created or updated identifier
Documentation Index
Fetch the complete documentation index at: https://heyhumm.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Model for creating a new user integration identifier.
Organization that owns this identifier mapping
User this identifier belongs to
Integration source where this identifier is used
Key/field name for the identifier (e.g., 'owner_id', 'user_email', 'employee_id')
The actual identifier value
Method used to discover this identifier
mcp_tool, llm_discovery, manual Confidence score for LLM-discovered identifiers (0.0-1.0)
Additional context about the identifier
Successful Response
Response model for user integration identifiers.
Organization that owns this identifier mapping
User this identifier belongs to
Integration source where this identifier is used
Key/field name for the identifier (e.g., 'owner_id', 'user_email', 'employee_id')
The actual identifier value
Method used to discover this identifier
mcp_tool, llm_discovery, manual Confidence score for LLM-discovered identifiers (0.0-1.0)
Additional context about the identifier