The GET /interactions/{guid} endpoint enables you to retrieve a specific interaction by specifying its unique identifier. The endpoint returns a specific interaction. The endpoint returns only the interactions that contain interaction content.

Headers

Header parameters in Requests (Interaction Content API) apply to this endpoint.

Authorization scopes supported:

ScopeAccess granted
interaction-content:readEntire endpoint

Parameters

The endpoint accepts the following path parameters:

guid

Type

Required

Example

StringTrue2480fc2c-bbd7-427c-9439-02f76583aef5

A globally unique identifier of the interaction you want to search for.

Request

Request a single interaction

curl -L -X GET "https://***.api.newvoicemedia.com/interaction-content/interactions/2480fc2c-bbd7-427c-9439-02f76583aef5" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Accept: application/vnd.newvoicemedia.v3+json" \

Responses

Responses to the endpoint returns the presences of all the users.

Successful response

For information about successful responses, see Success response code and parameters in Responses (Interaction Content API).

Example responses

{
  "guid": "2480fc2c-bbd7-427c-9439-02f76583aef5",
  "start": "2020-02-16T14:11:56Z",
  "connectFrom": "+14154204204",
  "connectTo": "22222",
  "direction": "inbound",
  "handlingAgents": [
    {
      "id": "1342"
    }
  ],
  "content": [
    {
      "contentKey": "callRecording",
      "type": "callRecording",
      "contentType": "audio/wav",
      "contentLength": 359,
      "lastModified": "2020-02-16T14:19:35Z"
    },
    {
      "contentKey": "fbebd00a-9017-48d3-ad5c-156f4c45024e",
      "type": "voicemail",
      "contentType": "audio/wav",
      "contentLength": 121,
      "owningAgent": {
        "id": "1342"
      },
      "lastModified": "2020-02-16T14:19:01Z"
    }, 
 	{
      "contentKey": "ad76a807-3e21-41c6-992e-dc9865ffcc9d",
      "type": "ivrAudioRecording",
      "contentType": "audio/wav",
      "contentLength": 100,
      "owningInteractionPlan": {
        "id": "816f1144-ac27-4bba-a280-cc66"
      },
      "lastModified": "2020-02-16T14:20:01Z"
    }
  ]
}

where: