Kepha icon

Kepha

Interact with Kepha API

Actions3

Whitelist → Create

AI-generated

Summary

Create a whitelist entry for a phone number.

Inputs

  • resource — Select the resource to interact with; choose 'whitelist' for this node.
  • operation — Select the operation to perform on the resource; options are Check, Create, Delete.
  • phone (required) — Phone number in international format (+countrycode+number) to add or verify in the whitelist.
  • id (required) — ID of the whitelist entry to delete.

Output shape

An array of JSON objects representing the API response (e.g., whitelist entry details).

For delete operations the array may be empty; errors are propagated as NodeApiError.

Examples

Example 1: Add a phone to the whitelist

resource: Whitelist, operation: Create, phone: +5511999998888

Example 2: Check if a phone exists in the whitelist

resource: Whitelist, operation: Check, phone: +5511999998888

Example 3: Delete a whitelist entry

resource: Whitelist, operation: Delete, id: 123e4567-e89b-12d3-a456-426614174000

Links

Discussion