Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Create phone Via API

    Posted 06-05-2025 18:08

    raltaie | 2018-12-12 20:01:19 UTC | #1

    i was searching for creating WebRTC phone via API but i couldn't find where i can do that

    can you show me where i can find some Docs, or if it's even possible

    Thank You!


    tim.smith | 2018-12-12 20:06:15 UTC | #2

    See the documentation and this forum post.


    raltaie | 2018-12-12 20:14:35 UTC | #3

    when i tried to use that i got 401 error because we don't use edge groups

    i want to add another webRTC to this path Telephony \Phone Management\ Phones


    tim.smith | 2018-12-12 20:15:30 UTC | #4

    401 means unauthorized, aka you didn't send the authorization header.


    raltaie | 2018-12-12 20:20:42 UTC | #5

    i am sorry i meant 404

    i have an app to create users and assign roles already in use

    but when i am using

    response = requests.get('https://api.mypurecloud.com/api/v2/configuration/edgegroups', headers=requestHeaders)

    Check response

    if response.status_code == 200:

    print (response.content) print (response) else: print ('Failure: ' + str(response.statuscode) + ' - ' + response.reason) sys.exit(response.statuscode)


    raltaie | 2018-12-12 22:54:42 UTC | #6

    FYI the doc you doesn't work

    i found some doc below and it seems to be responding as it should https://developer.mypurecloud.com/api/rest/v2/telephonyprovidersedge/


    raltaie | 2018-12-13 20:53:11 UTC | #7

    on the documentation

    the links has api/v2/telephony/providers/edge/.... but the right one should be api/v2/telephony/providers/edges/ ... hopefully that will be fixed


    system | 2019-01-13 20:53:14 UTC | #8

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