Get Previous Communication in a Channel

Fetches the previous chronological records in a Communication Channel, 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 10 communications immediately preceding ID 5f5c625e-c262-440e-8d11-54f96fc78f96 within channel f0fb347760e42d9177466ae0429f2dfb72d53597bd253655c78dfb16fddb1504

import requests

id = "f0fb347760e42d9177466ae0429f2dfb72d53597bd253655c78dfb16fddb1504"
communication_id = "5f5c625e-c262-440e-8d11-54f96fc78f96"
attributes = "content,content_translated"
limit = 10

url = f"https://www.virustotal.com/api/v3/ddw_communication_channels/{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 Communication Channel 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.)

string
Defaults to 10

Maximum number of communications to retrieve (max 40).

string

Continuation cursor.

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