How to block calls in Engage using APIs?

Updated: 01/21/2026

This guide walks you through configuring and utilizing the 8x8 CRM API to block phone numbers specifically for Engage-only tenants.

Prerequisites

Before you begin, download the 8x8 CRM API support documentation. The API allows you to Create, Read, Update, Delete records in the 8x8 Contact Center local CRM.

Applies To

  • 8x8 Engage 

Procedure

Step one: Configure CRM API Credentials

To enable API access, you'll need to set up authentication credentials:
  1. Log in to 8x8 Contact Center Configuration Manager with an Admin account;
  2. Navigate to Integration > CRM API;
  3. Check the box for Enable CRM API Access;
  4. Define a username and password for the CRM API;
  5. Review and update the Access Right table according to your requirements.

Step 2: Create a Custom Field for Blocked Numbers

You need to create a dedicated field in the CRM to track blocked numbers:
  1. In Configuration Manager for Contact Center, go to CRM > Fields > Customer Fields.
  2. Click + to add a Customer Field.
  3. For the Data Type, select Pick List.
  4. Enter the following values:
    • Field Name: BLOCK_NUMBER
    • Display Label: BLOCK_NUMBER
set fields in CRM.png
  1.  From the Pick List Values drop-down, select Edit Pick List Values.
  2. Click + Pick List Value. Do this twice for a total of two values.
  3. In the value column, name the default value NOT_BLOCKED and the second value BLOCKED. Click Save.  
add values.png

Step 3: Block Numbers via API

Use an API execution tool like Postman to add blocked numbers to your CRM.

Set Up Your Request

  1. Create a new HTTP request in your API tool
  2. Use your VCC environment URL in this format: https://vcc-environment.8x8.com/WAPI/wapi.php. Replace vcc-environment with your actual environment name (e.g., vcc-eu014).

Required Fields

When adding a customer with a blocked number, include these mandatory fields according to the 8x8 CRM API Documentation (Add Customer):
  • “tenant” : “add tenant name
  • “username” : “add username
  • “password” : “add password
  • “command-object” : “Customer”
  • “command-action” : “Add”
  • “firstname”: “add first name
  • “lastname” : “add last name
  • “BLOCK_NUMBER” : “BLOCKED”
blocked numbr.png
Your API request should now successfully create CRM records with the blocked flag set appropriately.

Update an Existing Customer to Unblock Their Number

To modify an existing customer record and change the BLOCKED_NUMBER custom field value from YES to NO:
1. List All Customers
First, retrieve a list of all customers to identify the customer you want to block:
  • ““tenant” : “add tenant name
  • “username” : “add username
  • “password” : “add password
  • “command-object” : “Customer”
  • “command-action” : “List”
  • "accountnum": "%"
list.png
Review the response to find the customer ID of the record you want to update.
2. Update the Customer Record
Once you have identified the customer, update their record with the blocked flag set to No
  • ““tenant” : “add tenant name
  • “username” : “add username
  • “password” : “add password
  • “command-object” : “Customer”
  • “command-action” : “Modify”
  • "accountnum": "add accountnum you wish to modiy"
  • “BLOCK_NUMBER” : “NOT_BLOCKED”
not blocked.png
Your API request should now successfully create or update CRM records with the blocked flag set appropriately.