Skip to content

User Interface Integration

When integrating with Amili, you often want to provide users with direct access to cases in the Amili system from your own application. This creates a seamless user experience where users can:

  • Click a link in your system (e.g., ERP, CRM, or case management system)
  • Automatically authenticate using their Google account
  • Be taken directly to the relevant case in Amili

This is particularly useful in scenarios such as:

  • Viewing invoice details from your financial system
  • Accessing collection cases from your customer service portal
  • Managing debt collection processes from your case management system
  • Providing customer support staff quick access to relevant cases

Direct Case Linking

To create a direct link to a case, use the following URL structure:

https://app.amili.se/open?resource=cases&id=xxxxxx&oauth=google

Where:

  • xxxxxx is the case ID returned on case--registrations
  • oauth=google parameter automatically selects Google as the authentication method, bypassing the login method selection screen

Authentication Flow

  1. When using oauth=google, the user is immediately redirected to Google's login page
  2. After successful Google authentication, the user is redirected back to the requested case
  3. If the user is already logged in with Google, they will be taken directly to the case

This streamlined authentication flow removes the need for users to manually select their login method, providing a smoother user experience.

Environment-Specific URLs