Account events alert you when an end-user’s stored EHR credentials need attention. They’re not tied to a specific RPA operation — Cobalt’s authentication layer fires them when it detects a credential issue during any login attempt. There are two account events:Documentation Index
Fetch the complete documentation index at: https://docs.usecobalt.com/llms.txt
Use this file to discover all available pages before exploring further.
access_token.login_required— credentials are no longer valid; the user must re-authenticate via Cobalt Link before further operations can succeed.access_token.password_change_warning— the EHR is prompting the user to change their password (currently eClinicalWorks only). Re-authenticate proactively to avoid an interruption.
data.message to the affected user and direct them to Update Mode to refresh their credentials.
Payload Envelope
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for this event |
access_token_reference_id | string | Your reference ID for the affected end-user |
object | string | Always "event" |
created | string | ISO 8601 timestamp when the event was created |
type | string | The event type |
data | object | Event-specific data payload |
Event Types
access_token.login_required
access_token.login_required
Triggered when an end-user’s stored EHR credentials are no longer valid (e.g. password changed in the EHR, account locked, or password expired). The user must re-authenticate via Cobalt Link before further operations can succeed.Payload Example:Data Fields:
| Field | Type | Description |
|---|---|---|
access_token_reference_id | string | Your reference ID for the affected end-user |
emr_instance_domain | string | The EHR instance domain associated with the access token |
message | string | Human-readable explanation, including any next-step instructions |
error_type | string | Optional. Specific reason category (e.g. password_expired) |
access_token.password_change_warning
access_token.password_change_warning
Triggered when an EHR (currently eClinicalWorks) prompts the user to change their password but the prompt was deferred. This is an early warning that a password change will be required soon.Payload Example:Data Fields:
| Field | Type | Description |
|---|---|---|
access_token_reference_id | string | Your reference ID for the affected end-user |
emr_instance_domain | string | The EHR instance domain associated with the access token |
message | string | Human-readable explanation with next-step instructions |