Mint a secure link for entering a practice-system password

POST /Platform/pims_connect/link

Mint a secure link for entering a practice-system password.

This hosted link is the only way a practice-system password enters Hilus; the password never passes through you. Hosts that render apps show the password form for this link right in the conversation, so the person types it there and you see only the outcome. On every other host, send the returned URL to the practice contact. When they submit, the login is checked against the practice system, and only then is the connection created, or its password updated (never a duplicate). For a new eVetPractice connection, whoever enters the password also chooses who can use it, so you need not ask.

For eVetPractice pass EITHER username (new connection) OR pims_id (refresh the password on an existing connection, e.g. after a 401 saying the stored password was rejected; the username is resolved for you). A link for a practice system reached through connectors needs neither: the page asks for the staff member's password and whose login it is, tries it on every connector of your organization, and keeps it on each one where the practice system accepted it. Such a link sets only the organization's login, and only when an organization administrator made it; a person adds their own login signed in, from Connect in the dashboard.

With staff_id (with the connection's pims_id, for a practice system that lets Hilus set staff passwords) the link does something else: its page sets the password that staff member logs in to the practice system with. Only an organization administrator can mint it. The page names the staff member and asks for the new password twice; the password goes sealed to the practice's computer and is not kept by Hilus. Such a link works once and lasts an hour by default, because it changes who can log in. It never sets the login Hilus itself uses (connect that login again instead). Give the link to the person who should choose the password; never ask for, suggest or repeat a password.

Body parameters

Returns

PimsConnectLink

Example request

curl -X POST "https://api.hilus.ai/Platform/pims_connect/link" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'