---
url: https://gudhub.com/docs/core-api/filter/phone-equal/
title: "Phone\n                #"
description: "This is one more special search type in the filter. It was created for phone numbers and can accept its any formats. That means, it does not matter you enter co"
lang: uk
updated: 2026-09-17T14:09:30.912Z
---

# Phone [#](https://gudhub.com/docs/core-api/filter/phone-equal/#phone)

This is one more special search type in the filter. It was created for phone numbers and can accept its any formats. That means, it does not matter you enter country code, a few numbers with or without brackets, full phone number or the single digit, phone\_equal\_or will display all suitable field values.

Its model is the same as the other filters:

Copy

```json
{
    "data_type": "phone",
    "field_id": 625320,
    "search_type": "phone_equal_or",
    "selected_search_option_variable": "Value",
    "valuesArray": []
}
```

We will take four different phone numbers as an [example](https://gudhub.com/docs/core-api/filter/phone-equal/#examples).

F\\S|+999(999)999-9999|1.7777777777|+38(666)666-6666|+38(666)666-6666;+1(222) 222-2222 :---|:---:|:---:|:---: +9999 (999) 999-9999|+|-|-|-| +1(777)777-7777|-|+|-|-| 38.666-666-6666; 1.777-777-7777|-|+|+|+| (025) 520-0255|-|-|-|+| +1(222) 222-2222|-|-|-|+|

| F\\S | (025) | +12 | 9 | 55 | 9-0 | 5)52 | 45 |
| :-- | :-: | :-: | :-: | :-: | :-: | :-: | :-: |
| +9999 (999) 999-9999 | \- | \- | + | \- | \- | \- | \- |
| +1234(567) 890-123 | \- | + | \- | \- | + | \- | + |
| +12(234) 567-0000 | \- | + | \- | \- | \- | \- | + |
| (025) 520-0255 | + | \- | \- | + | \- | + | \- |

> S - search values
> 
> F - column of field values
> 
> "+" - matched by filter
> 
> "-" - not matched by filter

## Examples [#](https://gudhub.com/docs/core-api/filter/phone-equal/#examples)

For clearly demonstration, the following table will be used as example:

Copy

```json
[{
    "item_id": 2979065,
    "fields": [{
        "field_id": 629160,
        "field_value": "9999.9999999999"
    }]
    },
    {
    "item_id": 2979066,
    "fields": [{
        "field_id": 629160,
        "field_value": "1234.567890123"
    }]
    },
    {
    "item_id": 2979067,
    "fields": [{
        "field_id": 629160,
        "field_value": "12.2345670000"
    }]
    },
    {
    "item_id": 2979068,
    "fields": [{
        "field_id": 629160,
        "field_value": "0255200255"
    }]
}]
```

Result of filtering by:

-   full number: _+9999 (999) 999-9999_

Copy

```json
[{
    "item_id": 2979065,
    "fields": [{
        "field_id": 629160,
        "field_value": "9999.9999999999"
    }]
}]
```

-   number without country code and signs: _2345670000_

Copy

```json
[{
    "item_id": 2979067,
    "fields": [{
        "field_id": 629160,
        "field_value": "12.2345670000"
    }]
}]
```

-   part of number: _234567_

Copy

```json
[{
    "item_id": 2979066,
    "fields": [{
        "field_id": 629160,
        "field_value": "1234.567890123"
    }]
    },
    {
    "item_id": 2979067,
    "fields": [{
        "field_id": 629160,
        "field_value": "12.2345670000"
    }]
}]
```

-   part of number in brackets: _(025)_

Copy

```json
[{
    "item_id": 2979068,
    "fields": [{
        "field_id": 629160,
        "field_value": "0255200255"
    }]
}]
```

-   country code: _+12_

Copy

```json
[{
    "item_id": 2979066,
    "fields": [{
        "field_id": 629160,
        "field_value": "1234.567890123"
    }]
    },
    {
    "item_id": 2979067,
    "fields": [{
        "field_id": 629160,
        "field_value": "12.2345670000"
    }]
}]
```

-   a single digit: _9_

Copy

```json
[{
    "item_id": 2979065,
    "fields": [{
        "field_id": 629160,
        "field_value": "9999.9999999999"
    }]
    },
    {
    "item_id": 2979066,
    "fields": [{
        "field_id": 629160,
        "field_value": "1234.567890123"
    }]
}]
```

-   last two digits: _55_

Copy

```json
[{
    "item_id": 2979068,
    "fields": [{
        "field_id": 629160,
        "field_value": "0255200255"
    }]
}]
```

-   digits with a dash: _9-0_

Copy

```json
[{
    "item_id": 2979066,
    "fields": [{
        "field_id": 629160,
        "field_value": "1234.567890123"
    }]
    
}]
```

-   part of number with a single bracket in it: _4) 56_

Copy

```json
[{
    "item_id": 2979066,
    "fields": [{
        "field_id": 629160,
        "field_value": "1234.567890123"
    }]
    },
    {
    "item_id": 2979067,
    "fields": [{
        "field_id": 629160,
        "field_value": "12.2345670000"
    }]
}]
```

-   two digit from any part of number: _45_

Copy

```json
[{
    "item_id": 2979066,
    "fields": [{
        "field_id": 629160,
        "field_value": "1234.567890123"
    }]
    },
    {
    "item_id": 2979067,
    "fields": [{
        "field_id": 629160,
        "field_value": "12.2345670000"
    }]
}]
```
