Legacy Dev Forum Posts

 View Only

Sign Up

Create and configure DID numbers to Flows via API

  • 1.  Create and configure DID numbers to Flows via API

    Posted 06-05-2025 18:14

    tanner.zinck | 2018-10-10 17:17:31 UTC | #1

    We have a very large amount of numbers that we would like to configure as DID numbers that route to our Architect Flows. The volume of numbers to be configured is large enough that doing it manually through the UI is not very feasible. I did a quick look, but can't seem to find an API endpoint that allows for configuring a DID number to route to a flow. Does this exist?


    anon39326996 | 2018-10-10 17:18:45 UTC | #2

    Try this API for creating a call configuration. https://developer.mypurecloud.com/api/rest/v2/architect/index.html#postArchitectIvrs


    crespino | 2018-10-10 19:08:16 UTC | #3

    Tanner,

    Lucie was spot-on in suggesting POST /api/v2/architect/ivrs.

    Just for future reference, if you turn on the developer tools in just about any browser and choose the Network tab you can watch the traffic, you can sniff out the PureCloud APIs that are used. PureCloud is an API-first platform, meaning that just about everything you can see & do in the UI is available as an API. So in this case, if you go into PureCloud Admin->Routing->Call Routing and create a new call routing and save it, you can easily see the API methods that were called, and even what the JSON payloads look like.

    Hope that helps.


    tanner.zinck | 2018-10-12 17:52:42 UTC | #4

    Thanks for the quick replies! I got it sorted out


    system | 2018-11-12 17:52:42 UTC | #5

    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: 3706