INPUT_OBJECT

PhoneFilterInput

Filter conditions for Phone records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

link GraphQL Schema definition

  • input PhoneFilterInput {
  • # Matches records that meet at least one of the listed filters.
  • OR: [PhoneFilterInput!]
  • # Matches records that meet all of the listed filters.
  • AND: [PhoneFilterInput!]
  • # Matches records that do not meet this filter.
  • NOT: PhoneFilterInput
  • # Search term matched against the fields that the global search covers for this
  • # entity.
  • globalSearchQuery: String
  • # Unique identifier of entity.
  • id: EntityFilterStringField
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: EntityFilterDateTimeField
  • # Creation time.
  • created: EntityFilterDateTimeField
  • # Error code recorded for the phone, set on integration failures (e.g. provider
  • # rejected the last send) or when the user disables the integration; empty when
  • # the phone is healthy.
  • errorCode: EntityFilterNumberField
  • # Name of the entity and its default text representation.
  • name: EntityFilterStringField
  • # Id of the assigned user, or empty when the phone is a company-level resource.
  • ownerId: EntityFilterStringField
  • # Phone number in E.164 format (e.g. "+12025550123").
  • phoneNumber: EntityFilterStringField
  • # External caller identifier from the calling provider (e.g. Twilio caller SID).
  • twilioCallerSid: EntityFilterStringField
  • # Channel and assignment of the phone number: calling only, calling and SMS
  • # (unassigned, personal to the owner or shared by the company), or a personal or
  • # company WhatsApp account.
  • type: PhoneTypeEnumFilterInput
  • # Revision when entity was lastly changed.
  • revision: EntityFilterNumberField
  • # False when the user has disabled the calling/SMS integration on this phone
  • # (errorCode is set to indicate user disablement); true otherwise.
  • enabled: Boolean
  • # User the phone is assigned to, when the phone belongs to a specific user
  • # (personal calling/SMS line). Matches records where a related record meets these
  • # conditions.
  • owner: ClientFilterInput
  • }