Genesys Cloud - Developer Community!

 View Only

Sign Up

Expand all | Collapse all

API endpoint which exposes outbound

  • 1.  API endpoint which exposes outbound

    Posted 09-30-2025 06:32

    Hi all,

    Can anybody point me in the direction of an API endpoint which will show which domains have the TXT record updated for outbound email?


    #PlatformAPI

    ------------------------------
    Gary Waddell
    Professional Services Consultant
    United Kingdom
    ------------------------------


  • 2.  RE: API endpoint which exposes outbound

    Posted 09-30-2025 11:57
    Edited by George Ganahl 09-30-2025 11:57

    I don't know of one...

    Looking at the Console/Network logs in a browser when accessing that configuration page, I see an API call that may be part of the private API:

    https://api.mypurecloud.com/api/v2/routing/email/outbound/domains/[your domain name]

    That brings back the info on TXT record verification:



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 3.  RE: API endpoint which exposes outbound

    Posted 09-30-2025 12:07

    First point - loving the new profile picture @George Ganahl ❤️.

    To the issue, I too found a similar approach using the below API. Ofcourse risky to build a solution based on this as Genesys may change this at any time without warning. We've noted it as part of our design.

    /api/v2/routing/email/domains/<domain id>/verification



    ------------------------------
    Gary Waddell
    Professional Services Consultant
    United Kingdom
    ------------------------------



  • 4.  RE: API endpoint which exposes outbound

    Posted 09-30-2025 12:41

    Hello,

    This API endpoint (GET /api/v2/routing/email/domains/{domainId}/verification) is not public/released yet.

    Regards,



    ------------------------------
    Jerome Saint-Marc
    Senior Development Support Engineer
    ------------------------------



  • 5.  RE: API endpoint which exposes outbound

    Posted 09-30-2025 13:01

    Thanks, Jerome (and Gary acknowledged it is not guaranteed)

    How about GET api/v2/routing/email/outbound/domains/[your domain name]? Same situation, since it is not documented in API Explorer?



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 6.  RE: API endpoint which exposes outbound

    Posted 09-30-2025 13:09

    This one (GET api/v2/routing/email/outbound/domains/[your domain name]) seems to be released -> https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-routing-email-outbound-domains--domainId-

    It is not that I have specific insights on these endpoints. Just that I have seen the other one was not tagged as public or preview in our OpenAPI/Swagger definition. :-)



    ------------------------------
    Jerome Saint-Marc
    Senior Development Support Engineer
    ------------------------------



  • 7.  RE: API endpoint which exposes outbound

    Posted 09-30-2025 14:43

    Appreciate the help @Jerome Saint-Marc I'm afraid this one doesn't return any data



    Oddly, when I run this endpoint /api/v2/routing/email/outbound/domains it seems to only return Campaign/Agentless domains.

    For (regular) custom domains this is the public endpoint /api/v2/routing/email/domains/{domainId} however it does not return the TXT information, just the mxRecordStatus which is used for inbound email routing.

    I think for now I'm forced to use the non-public and unsupported API.

    Should I log this anywhere for future enhancement/review? Maybe the ideas lab?



    ------------------------------
    Gary Waddell
    Professional Services Consultant
    United Kingdom
    ------------------------------



  • 8.  RE: API endpoint which exposes outbound

    Posted 09-30-2025 18:04

    Sorry - the endpoint I gave you is specifically for outbound campaign related email domains. I mistakenly read your original post to be for Outbound email config (for campaigns), not just the outbound settings for the standard ACD email server domain.

    So, yeah, the endpoint you got from the Network log is the only one I see that returns what you want.



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 9.  RE: API endpoint which exposes outbound

    Posted 10-01-2025 08:30
    Edited by Jerome Saint-Marc 10-01-2025 08:59

    Hello,

    I have reached out to the email team. This endpoint will become public. I don't have a timeline for it - but they acknowledged it should be updated to public visibility. So no need to create a ticket or an idea.

    Regards,



    ------------------------------
    Jerome Saint-Marc
    Senior Development Support Engineer
    ------------------------------



  • 10.  RE: API endpoint which exposes outbound
    Best Answer

    Posted 28 days ago

    Hello,

    Just to let you know that the GET /api/v2/routing/email/domains/{domainId}/verification endpoint is public now.

    Regards,



    ------------------------------
    Jerome Saint-Marc
    Senior Development Support Engineer
    ------------------------------



  • 11.  RE: API endpoint which exposes outbound

    Posted 28 days ago

    Wonderful service - thank you for the communication ❤️



    ------------------------------
    Gary Waddell
    Professional Services Consultant
    United Kingdom
    ------------------------------



  • 12.  RE: API endpoint which exposes outbound

    Posted 09-30-2025 13:02

    I was having too much fun with ChatGPT and "produce a professional profile photo" :-)



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 13.  RE: API endpoint which exposes outbound

    Posted 09-30-2025 13:02

    I need to tone it down a bit, get back to reality...



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------