Skip to main content

Your product name on sign-in pages and e-mails

Each user flow (Patient and Practitioner) has a name. Your users see it on the sign-in, sign-up and password-reset pages, and in the verification, password-reset and password-changed e-mails:

WhereWhat the user sees
Sign-in pageSign in to <name>
Sign-up pageCreate your <name> account
Verification e-mailSubject Verify your email - <name>, body Thank you for signing up for <name>.
Password-reset e-mailSubject Reset your password - <name>
Password-changed e-mailSubject Your password was changed - <name>

A new project's flows are named after the project: <project name> Patient Portal and <project name> Practitioner Portal. Set the name to your product's name so users recognise who is writing to them.

Renaming a flow​

With a project API key that has the config:write scope:

PATCH /config/v1/connection HTTP/1.1
Host: api.medbackend.com
Authorization: Bearer <project API key>
X-Project-ID: 3fa85f64-5717-4562-b3fc-2c963f66afa6
Content-Type: application/json

{
"entity_type": "Patient",
"name": "Example Health"
}
  • entity_type names the flow: Patient or Practitioner. One request renames one flow.
  • name must be a non-empty string of at most 255 characters, with no line breaks or control characters. Any other Unicode text is accepted, accents and non-Latin scripts included.
  • A field you leave out is not changed, so this request does not touch the flow's other settings, such as Sign in with Google.

The new name takes effect immediately. It does not wait for a publish. The response is the same document GET /config/v1/connection returns (that call needs config:read), and each entry in user_flows carries its name.

StatusMeaning
200Saved and applied
422The value was refused. detail says why, for example: entity_type is missing, the name is empty or over 255 characters, it contains a line break or control character, the project has no such flow, or the flow is not registered yet
502The outcome is unknown: the change may or may not have been applied. Read GET /config/v1/connection before retrying