Kepha icon

Kepha

Interact with Kepha API

Actions3

Whitelist → Check

AI-generated

Summary

Check if a phone number exists in the Kepha whitelist

Inputs

  • phone (required) — Phone number in international format (+countrycode+number)
  • resource — Whitelist resource identifier (default: 'whitelist')
  • operation — Operation to perform; set to 'check' for this use case

Output shape

An array of objects containing the API response; typically a single element array

Empty array on success with no body; errors are handled via exceptions

Examples

Example 1: Verify that a phone number is in the whitelist

Set Resource to Whitelist, Operation to Check, enter the phone number

Example 2: Add a new phone number to the whitelist

Switch Operation to Create, provide the Phone Number to add

Links

Discussion