Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  API /api/v2/users/search

    Posted 06-05-2025 18:15

    wu_edward | 2019-10-18 01:16:19 UTC | #1

    Hi @tim.smith You helped me with the following posts and just now I realized the search only went up to Work Phone 3. It didn't search Work Phone 4. Any ideas?

    Thanks, Ed

    You can use POST /api/v2/users/search with a request like the one below to search for users by phone numbers. You can also search primaryContactInfo.voice if you want to limit it to those fields.

    {
    	"pageSize": 25,
    	"pageNumber": 1,
    	"query": [{
    		"type": "CONTAINS",
    		"fields": ["addresses.voice"],
    		"value": "13175551000"
    	}]
    }

    tim.smith | 2019-10-18 15:35:00 UTC | #2

    Hmm, I'm seeing the same behavior that work phone 4 isn't being searched even though it's included in the search result when a different number matches. Please open a case with PureCloud Care to investigate the issue further.


    system | 2019-11-18 15:35:05 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 6281