Legacy Dev Forum Posts

 View Only

Sign Up

DID Assignment/Reassignment via API

  • 1.  DID Assignment/Reassignment via API

    Posted 06-05-2025 18:28

    Chad_Markle | 2023-09-04 18:10:44 UTC | #1

    Hello, are there APIs to assign/reassign a DID? I can retrieve DID Pools and DIDs, but the only update I can find is creating and updating DID Pools. We have a large number of users that have their DID used as "Personal Queues" via a flow, that I need to point to their User directly. Is there a way to do this programmatically?

    Thank you, Chad


    charlie.conneely | 2023-09-06 12:15:01 UTC | #2

    Hi Chad

    You do not assign DIDs via the /api/v2/telephony/providers/edges/didpools/... endpoint. Instead you assign it directly to the user or call flow.

    For example, in the request body to PUT /api/v2/architect/ivrs/{ivrId} you will see an array called for dnis numbers. In the request body for PATCH /api/v2/users/{userId} , you will see an addresses array.

    Hope this helps, -Charlie


    Chad_Markle | 2023-09-06 14:37:37 UTC | #3

    Thanks Charlie! That helps. I was looking at it from the wrong angle.

    Chad


    system | 2023-10-07 14:38:04 UTC | #4

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