Legacy Dev Forum Posts

 View Only

Sign Up

Regex for PhoneNumber attribute in POST Conversaton Calls

  • 1.  Regex for PhoneNumber attribute in POST Conversaton Calls

    Posted 06-05-2025 18:16

    Marne | 2020-03-02 15:01:11 UTC | #1

    We are using POST Conversation Calls to initiate a phone conversation. Unfortunately the documentation does not specify what PureCloud accepts as values for the PhoneNumber attribute.

    We have tested a view combinations; all of them result in a 202 reponse, even if the PhoneNumber was invalid and did not result in an actual converstation in PureCloud. For example a PhoneNumber with a letter ('k') or a specific character ('/') in it.

    Is there a specific regular expression which we can use to validate if the provided PhoneNumber is valid?


    tim.smith | 2020-03-03 16:19:37 UTC | #2

    Any values are accepted in the phone number field because how they are evaluated depends on how you've chosen to configure your number plans.


    system | 2020-04-03 16:19:39 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: 7243