Upsert an external actor
Changed onUpserts by (provider_tenant_id, provider_user_id). Omitted attributes keep their stored values; provided attributes are overwritten, including empty values. An unchanged actor is not rewritten. Actors written through this endpoint always have the external provider.
Request
- Base URLhttps://api.omnara.com/v1
- Auth
- HTTP bearer
- or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf
Path parameters
Organization ID (org_...).
Project ID (proj_...).
Request body
Identity and attributes of an external actor. Actors are upserted by (provider_tenant_id, provider_user_id) with the external provider. Omitted attributes keep their stored values; provided attributes are overwritten, including empty values. omnara actors are implicit and hosted integrations own their own actor identities.
Your tenant or namespace for the user. With provider_user_id, identifies the actor.
The user's ID in your system. With provider_tenant_id, identifies the actor.
Display name for the actor.
Key-value attributes for the actor. Replaces stored metadata when sent.
Response
The upserted actor.
Project ID (proj_...).
omnara for Omnara identities, integration for hosted integration senders, or external for API-managed actors.
Project-scoped identity namespace. Integration actors use a stable platform namespace (slack:<workspace ID>, discord, or github:github.com), shared across configured bots and integration kinds on that platform. Retained for attribution after integration deletion; not an authorization principal.
Stable sender identifier within the actor identity namespace.
Saved actor attributes. Hosted integration actors store source_label (such as Slack) for display without a live integration lookup.
Changes
- warning
added the new
integrationenum value to theproviderresponse property for the response status - info
removed the
slackenum value from theproviderresponse property for the response status
- warning
- info
added the optional property
current_digestto the response with the status
158 more changes in this revision
- info