See which messages the API sent
Messages your own systems send through the BloomText API show the key's name and an API label. Owners and IT create, see and revoke keys on the Account page.
Who can do this: Admins and staff · Web and desktop
Your practice's own systems, such as a scheduling system that sends reminders, can text patients through the BloomText API. Each message they send shows the name of the API key that sent it, so your team can tell it apart from a coworker's message. Replies land in the same chat, like any other text.
Before you start
- Anyone in the chat sees the API label.
- Keys live on the Account page, under API keys. Only Owners and IT see it. See Run every location from the Account page.
- API access is for organizations with a signed BAA. To turn it on, contact BloomText. If your account doesn't use the Account page yet, BloomText creates your keys for you, and keys made before keep working. To revoke one of those keys, contact BloomText support.
Spot a message from the API
- Your scheduling system texted Maria a reminder. Click her chat in the Inbox.
- The message is labeled Reminder service · API: your system sent it, not a coworker.
- Maria's reply lands in the same chat, so the team picks it up like any other text.
Find the key that sent it
- From the Inbox, click Settings at the bottom left.
- Click Account.
- Click the API keys tab.
- The keys are listed in a table, one row each. A row shows the name its messages show, for example Reminder service, with its first characters, its status, the organizations it reaches, its scopes, and when it was created, last used and expires. Hover +N to see the rest of its organizations or scopes. Revoked keys stay in the list, greyed out. To stop its texts, click ⋯ at the end of the row, then Revoke.
Create a key
- On the API keys tab, click Create API key.
- Type a Name, for example "Reminder service". Messages the key sends come from this name.
- If your account has several organizations, choose All organizations, which includes ones you add later, or Only these organizations and tick the ones the key may reach.
- Tick its Scopes. A reminder service needs only
patients.readandmessages.write. To manage members and teams from your own systems, addmembers.read,members.writeandteams.write. - Pick when it Expires in. The default is 90 days.
- Click Create key. The key shows with most of it hidden; the eye button shows it in full. Click the copy button. This is the only time BloomText shows the key, so store it in your secrets manager before you click Done. BloomText keeps only a fingerprint of it, so a lost key can't be shown again: create a new key and revoke the old one.
API identities
An API identity is the automated sender your integration's messages come from, such as Appointment reminders. You create and manage identities on the same tab: Settings → Account → API keys, in the API identities section.
- Give it a name and an avatar. It's always marked as automated.
- Choose the teams and phone numbers it may send from. It sends only from those.
- Attach keys to it. A key that sends messages must belong to an identity; keys that only read or that add and remove people don't need one. One identity can have several keys, so replacing a key keeps the same sender.
Staff see the identity as the sender in threads, and Owners and IT see it in Message reports and the Audit log, where the Automated filter shows only identities. Patients see its name in secure chat and your office's number on SMS, and their replies go to the sending number's team inbox.
An identity isn't a person. It isn't listed in the Directory or under People, isn't a billable seat, can't sign in, and never sends on behalf of a staff member.
Until identities are turned on for your account, messages a key sends show the key's name with an API label.
Turned on when you ask
BloomText turns these on for your account when you ask. They're described in full in the developer docs.
- Limit a key to phone numbers: the key sends only from those numbers and reads only their teams' messages and conversations. Patients stay organization-wide.
- Webhooks: BloomText calls your server when a patient writes in or a text's delivery status changes.
- OAuth client credentials: a second way for a server to sign in with an existing key.
Good to know
- BloomText asks you to confirm before it revokes a key. Apps using it stop working immediately.
- Owners and IT can also set or change a key's expiry from its ⋯ menu.
- Organizations have no API keys tab of their own.
- Search results show the same API label next to the key's name.
- For developers, the API keys guide covers scopes, expiry and how to send a key, and the members API guide covers adding and removing people by API.
Related
- Administrative features
- Run every location from the Account page
- See new texts and reply
- Business Associate Agreement
Referenced by
Work with people Okta manages
For organization Admins in an account that uses Okta. How to spot a member Okta manages, what you can still change, what to ask IT for, why an invite can be refused, and what happens when someone leaves.
Message reports
Owners and IT see every text the account's organizations sent to patients, whether it arrived, and why it didn't, by organization, team and date range. Export the list as a CSV.