Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Restore Archived Recordings throw API

    Posted 04-09-2025 13:51

    Hello, 

    I did a job to Archive N recordings, this is my request. 

    {
      "action": "ARCHIVE",
      "actionDate": "2025-04-09T00:00:00.000Z",
      "conversationQuery": {
        "interval": "2025-03-01T00:00:00.000Z/2025-04-09T23:59:59.999Z",
        "order": "asc",
        "orderBy": "conversationStart",
        "segmentFilters": [
          {
            "type": "or",
            "clauses": [
              {
                "type": "and",
                "predicates": [
                  {
                    "type": "dimension",
                    "dimension": "ani",
                    "operator": "matches",
                    "value": "xxx"
                  }
                ]
              },
              {
                "type": "and",
                "predicates": [
                  {
                    "type": "dimension",
                    "dimension": "dnis",
                    "operator": "matches",
                    "value": "xxxx"
                  }
                ]
              }
            ]
          }
        ]
      }
    }
    

    This worked fine, but now i don't know the conversationid of the archived recordings.

    The results of the job, shows the number of conversationID processed and also the failed (fir this case i have the conversationid).

    There are any endpoint that i can call to obtain the archived conversations?
    What happens if i want to restore these recordings? Can i do it throw API?.

    BR.


    #API/Integrations
    #SystemAdministration

    ------------------------------
    Adrian Rodriguez
    ------------------------------


  • 2.  RE: Restore Archived Recordings throw API

    Posted 04-10-2025 13:22

    Hello Adrian,

    I've moved your thread over to our Genesys Cloud Developer Community. They should be able to help you with your API questions.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------