v1

latestOpenAPI 3.1.02026-07-141600153.0 KB

Create a new collection

post/collections

Headers

x-apikeystring required

Your API key

Request body

datastring json required

Collection object

Response

200

Example response

{
  "data": {
    "attributes": {
      "name": "Test collection",
      "description": "This is how to create a new collection via API.",
      "top_icon_md5": [
        "1bc1faf71106e964e44cb17ab4dd8d11"
      ],
      "domains_count": 1,
      "creation_date": 1614784765,
      "last_modification_date": 1614784765
    },
    "type": "collection",
    "id": "<ID>",
    "links": {
      "self": "https://www.virustotal.com/api/v3/collections/<ID>"
    }
  }
}