Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

To make calls to an API, you require API credentials which authenticate your request.

Your API credentials consist of:

  • your client ID. Your client ID identifies who you are, a bit like a user name.
  • your client secret. Your client secret is a password that's generated by Vonage Contact Center.

If you do not already have API credentials, you will need to create them in API Admin. For information about creating new API credentials, see Creating new API credentials.
If you already have API credentials and want to reuse these for an additional scope, you can add that scope to your existing credentials. For information about adding a new scope to existing API credentials, see Adding a scope to your existing API credentials.

Creating new API credentials

 Click here to expand...

To create user-level API credentials for your account, perform the following steps:

  1. Log in to Vonage Contact Center and go to API Credentials (within Account Settings). API Credentials appears. If applicable, go to the Users tab.
    Click Create NewCreate API Credentials appears.
  2. Provide the following information:

    FieldDescription

    Name

    A name to identify the credentials later. We recommend that you use a name that describes the credential's intended use.

    Type a name for the credentials. You can edit this later.

    Scopes

    The scope or scopes that you want these API credentials to work with.

    In the Scopes list, click to see the available scopes. 

    Available scopes

    Available scopes depend on your user license, admin or supervisor. Admin users have all scopes available; supervisors have only Read or download interaction content and Read VCC user details, settings, and presences.

    Click the name of the scope to add it.
    Click x alongside the scope name to remove it.
    Add as many scopes as you like to your API credentials. See the documentation for individual APIs to see which scopes you will require.

    You can edit the list of scopes later.

  3. Click Create. A Success message appears and your new credentials appear.
    Copy and save your client ID and secret; you cannot retrieve them later. You will need your client ID and client secret every time you make a call to authenticate with a Vonage Contact Center API
  4. Click OK. Your new credentials appear—without the secret—in API Credentials.

Adding a scope to your existing API credentials

 Click here to expand...

Depending on your license, you can edit different API credentials. As a supervisor user, you can only edit your own user-level credentials; admin users can additionally edit any existing account-level credentials. No one can modify someone else's user-level credentials.

From API Credentials, click to open the API credentials you wish to change.

You can add or remove scopes to or from the API credentials. A new scope might give the credentials access to a different API, or additional access to an already allowed API.

Available scopes

Available scopes depend on your user license, admin or supervisor. Admin users have all scopes available; supervisors have only Read or download interaction content and Read VCC user details, settings, and presences.

You can also change the name of the API credentials.

When you have finished making changes, click Save API credential.

  • No labels