Get Previous Communication in a Thread

Fetches the previous chronological records in a Dark Web Conversation Thread, using a provided Communication ID as the reference point. This endpoint returns a list of Communication objects.

Examples

Retrieve the content and content_translated attributes for the 3 communications immediately preceding ID c954b4fc-bdfe-4214-8386-614e70ed7670 within thread 39d927da5fef18b43456075e75e3c42378ef63958e59af04181bdf77f61ed249

import requests

id = "39d927da5fef18b43456075e75e3c42378ef63958e59af04181bdf77f61ed249"
communication_id = "c954b4fc-bdfe-4214-8386-614e70ed7670"
attributes = "content,content_translated"
limit = 3

url = f"https://www.virustotal.com/api/v3/ddw_conversation_threads/{id}/previous_communications/{communication_id}?attributes={attributes}&limit={limit}"

headers = {
    "accept": "application/json",
    "x-apikey": <api-key>
}

response = requests.get(url, headers=headers)

Path Params
string
required

Dark Web Conversation Thread identifier.

string
required

Dark Web Communication identifier.

Query Params
string

A comma-separated list of the communications attributes to be returned. (All attributes are returned by default.)

Headers
string
required

Your API key.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json