Skip to main content

I am, trying to get the call summary from the  /v2/calls/ai-content)End point.  Note that queries using other endpoints work fine, but this one no matter what throws a 500 server error.  Have been banging my head on this for a while would appreciate any help

URL

/v2/calls/ai-content

Body

{ "filter": { "fromDateTime": "2022-11-14T20:50:27.294Z", "toDateTime": "2023-11-14T20:50:27.295Z", "callIds": s "555785916001072125" ], ,
  "contentSelector": {
    "brief": true,
    "outline": true,
    "highlights": true,
    "callOutcome": true
  } },

}

Method

POST

Hey @Neil Cosgrove! Working on finding a solve for you. Appreciate your patience - stay tuned for an answer shortly! 


@Neil Cosgrove 

I cut and pasted your JSON into Postman (and a JSON editor) and it complained about the format. (Could have been caused by the cut and paste)

In any case I edited it down to this, and it worked in 2 Gong instances I tested in.  Let us know if this gets you where you need to go! 

{

"filter": {

"fromDateTime": "2023-11-14T20:50:27.294Z",

"toDateTime": "2023-11-15T04:50:27.295Z",

"__callIds": s"555785916001072125"]

},

"contentSelector": {

"brief": true,

"outline": true,

"highlights": true,

"callOutcome": true

}

}


It now doesn’t throw an error, but no content is being returned.  all that gets returned back is the callid.  I not that you have a “__” before callids, I did not see that in the docs?

Thank you for the help


@Neil Cosgrove  the __callIds was just to comment it out. The API will ignore it. 

I also saw data returned with just the call ID. When I put the call into Gong I saw there was no spotlight generated yet for the call, thus nothing in the API. Once the spotlight was created the API returned data.

Makes sense kinda, but could be limiting based on what you’re trying to do.  Create a spotlight for one of the calls, and see if you have the same experience. 

 

 


Makes perfect sense accept why was the spotlight not generated for the call (that’s a question for Gong, not yourself).  My use case is that I want to get the spotlight of client calls and add it as notes in my CRM.


@Neil Cosgrove If you are using SFDC the spotlight details can get pushed there using the latest Gong for Salesforce Managed Package. (Not HubSpot yet) See this help center article that says 

 

Spotlight can be pushed to your CRM via the call brief and call highlight fields in the Conversation object page layout


@Andrew O'Driscoll @Molly Kipnis @Neil Cosgrove Is this endpoint still available? I can’t seem to find any documentation on the ai-content endpoint in Gongs Public API documentation


@Blake.Brown Andrew is traveling until May — @Neil Cosgrove, please let us know if this is still available. 🙂 Blake, I’ll check with the teams internally. Stay tuned!


Hey @Blake.Brown - the endpoint referenced here is /v2/calls/extensive


Just to confirm, we don’t have any endpoints available anymore called: (/v2/calls/ai-content)

 

If you need to pull the call spotlight information via the API, then you will use this endpoint: /v2/calls/extensive

 

In the request, please make sure to add these details for these fields to pull the call spotlight information: 
 


If you don’t indicate these fields as being “True” then we won’t return this information in the request. 
 

You can reference this information here: https://app.gong.io/settings/api/documentation#post-/v2/calls/extensive

If you have further questions, then please create a support ticket with us through the “Contact Us” page on help.gong.io 


Reply