Interface CapabilityService


public interface CapabilityService
Service for working with capability

A capability query checks the options available for reaching the contact on the channels on which it has a channel identity.

Capability queries can only be executed for contacts that already exist in a project and app. For executing the request, either the contact ID or the channel recipient identities of the contact are required.

The request is executed asynchronously, therefore the service responds immediately. The result of the capability query is sent to the registered webhook for the CAPABILITY trigger.

Since:
1.3
See Also:
  • Method Details

    • lookup

      Capability lookup

      This method is asynchronous - it immediately returns the requested Capability registration.

      Capability check is then delivered as a callback to registered webhooks with trigger CAPABILITY for every reachable channel.

      Parameters:
      request - The request parameters to lookup capability
      Returns:
      The capability response
      Since:
      1.3