1. Telebroad | Support Center
  2. Solution home
  3. Telebroad Admin Center
  4. App Integrations
Open navigation

API Keys


Usage


API Keys are a type of digital password made up of a string of random letters and numbers. They are used for authenticating apps, scripts, web services, and websites that use APIs to share data and request services. 


Since API Keys provide sensitive server access, they have settings to restrict the scope of what they can do, and they are also assigned an automatic expiration date.

API keys work with Telebroad's current APIs that are covered in our developer portal. Telebroad's Legacy APIs are not supported for API key access and still use basic authentication. 


Access and Existing API Keys


Access the API Keys page by selecting Integrations from the side navigation panel and clicking Manage.

To add or modify keys, an Account Owner role or a role with API Keys view permission is required. Roles are further explained here.


 

Existing API keys are listed by:

  • The NAME and creation date of the key.

  • A KEY prefix.

      Note that only the key prefixes are stored and can be copied () on this page. You can copy and save the full key only when it is created!

  • The kind of ACCESS and scope the keys are permitted on the system (see What this Key-Can Do settings).

    The Access column also shows which call objects the key is limited to.

  • When the key was LAST USED to access objects or an endpoint on the system.

  • The key's STATUS (Active, Expires soon, Revoked, or Expired).

   


Key Controls and Reissuing Keys


API keys have three control buttons. The   button lets you edit a key's settings. You can revoke (delete) a key with .




  Deleting keys cannot be undone. Any app that relies on the key for access will stop working immediately.



Use  to reissue the key and change its expiration date. You can set the expiration to 7, 30,90 days, or 1 year from the current time.


API Key Settings


Select an existing key or create a new one to edit or configure the key's settings.

What this Key Can Do Settings (Scopes)


This option lets you set the scope of the key – its permitted system access and capabilities (and, in turn, the server or app using it) to various system features, functions, and endpoints. Please keep things secure by selecting only the scopes that your integration needs.

  Be aware that the key's access and capabilities also depend on the role of the user it is associated with as set in the "Run As:" settings (described below). 

Each scope option has a description and a scope label (like – ) which helps you reference it in this article, explaining scopes.


You will also find the required scope label for each API in its own reference article, so you can know exactly which scope to select.



Sensitive access scopes 

These are scopes that expose the contents of conversations or personal data. You should grant them only when the integration genuinely reads them.


Additional Key Settings

  • Owners: Select one or more owners who will be reminded by email about the key's upcoming expiration.

  • Limit it to specific objects: Depending on which scope(s) you check for the key, this will display additional drop-down lists. Check objects in these lists to limit the key access specifically to them. For example, you can limit the key to send text messages just from selected SMS-enabled phone numbers.

    To allow unrestricted access to a scope, deselect all objects on the drop-down list.

    • Call Flow is displayed when you check the Place calls from flows (flows:call) scope and lets you limit the key access to specific flows.

    • Phone numbers is displayed for any scope that works with phone numbers. It lets you limit the key to specific numbers – which lines it may text from, read messages on, act on conversations for, fax lines it may send and read faxes on, which numbers it may show as the caller ID on calls it places, and which numbers' call recordings it may delete. Without this, it may reach every number the Run-As user's role allows.

    • HHA Exchange connections is displayed when you check the Look up callers in HHA Exchange (hha:read) scope and lets you limit the key to specific connected agencies that a caller can search and cross-reference records in. Without this, the key allows searching every enabled HHA Exchange connection on the account!

    • Phones is displayed when you check the Place calls (calls:make) scope, and you need to select at least one phone line here. The selection determines the lines the key may ring first when it places a call. 



  • Run As: Here you select a user the key is associated with. The key's access and capabilities depend on both the scope(s) you select for it (discussed above) and the access privileges of the user's role (and it may be further limited by the "Limit it to specific objects:" settings).

    For example, to create a key for reading faxes, you need to select the fax:read scope and a user that has a role with fax history viewing privilege.

    Users with an Account Owner role have access to all system features. User roles are defined on the Account Settings page and are further explained here.

  • Expires: For security, select a key validity period of 7, 30,90 days, or 1 year from the current time.

    If editing a key, select Don't Change to keep the current expiration.

  • Allowed IPs (optional): Restrict the key's access to specific IP addresses.

Creating a New Key


Click Create API key on the main page, enter the Key's Name, mark scopes for what the key can do, and set the other settings as needed. 


When you click CREATE KEY to finalize the key, you will see the full key details and can copy them. This is the only time you will see the full key. After you confirm the prompt, only the key prefix will be stored on the main page. If you lose the key, you will need to revoke it and replace it with a new key.


  Remember that a key is like a password, and anyone who has it can act as your account, within the limits you set. Store your keys somewhere safe!

Expiration Notifications


Users who are designated as owners of the key will receive an email notification one day prior to the key expiration, with a direct renewal link.