Legacy Dev Forum Posts

 View Only

Sign Up

Get Trunk ID(& subsequently it's Name)

  • 1.  Get Trunk ID(& subsequently it's Name)

    Posted 06-05-2025 18:20

    DMandrat | 2021-10-18 07:42:51 UTC | #1

    Hello everyone,

    i was experimenting with the GET calls on the API explorer and i was wondering if it would be possible to get the External Trunk ID(and through that Trunk ID, it's Name within it's organization) that a Call went through.

    In some words i 'd like to mimic the actions to get the Name of the Edge that this call used, which is as follows:

    1. by feeding the Interaction ID in api/v2/analytics/conversations/{conversationId}/details, we get from within the given information the Edge ID, eg. "edgeId": "912be4zb-2818-4713-b385-7b6b140a60df"
    2. by feeding that Edge ID in /api/v2/telephony/providers/edges/{edgeId}, we get the Edge name that corresponds to that Edge ID within out organization

    I tried a series of Get Calls but i don't seem to get anywhere. Is there some trick to it or it's not feasible?


    Jerome.Saint-Marc | 2021-10-20 12:17:45 UTC | #2

    Hello,

    Unfortunately, as far as I know, the information on trunk id or trunk name is not available for a conversation (not available in Conversations API or in Analytics API).

    You can request a new feature and share your use case at https://genesyscloud.ideas.aha.io/ and allow others to vote it up.

    Regards,


    system | 2021-11-20 12:18:35 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: 12388