{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/linkshieldapi.com"
        }
    ],
    "info": {
        "name": "Link Shield API Documentation",
        "_postman_id": "003f00e8-e5d5-4ca7-9b7c-aa31de967389",
        "description": "API platform that leverages the power of AI to detect malicious URLs and protect your online security.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Endpoints",
            "description": "",
            "item": [
                {
                    "name": "Score a URL for threats.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/link\/score",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/link\/score"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"url\":\"https:\\\/\\\/example.com\",\"tag\":\"your_tag_here\",\"follow_redirects\":false,\"categories\":[\"phishing\",\"malware\",\"scam\",\"adult\",\"dating\",\"gambling\",\"crypto\",\"spam\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"id\": 123,\n  \"url\": \"https:\/\/example.xyz\",\n  \"tag\": \"your_tag_here\",\n  \"risk_score\": 12,\n  \"reason\": \"Suspicious TLD (.xyz)\",\n  \"domain_flagged\": false,\n  \"url_flagged\": false,\n  \"ai_flagged\": false,\n  \"flagged_categories\": [\"phishing\"],\n  \"final_url\": \"https:\/\/example.xyz\/login\",\n  \"created_at\": \"2024-01-01T12:00:00.000000Z\",\n  \"updated_at\": \"2024-01-01T12:00:00.000000Z\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Score multiple URLs for threats.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/link\/bulk-score",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/link\/bulk-score"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"urls\":[\"https:\\\/\\\/example.com\",\"https:\\\/\\\/bad.test\"],\"follow_redirects\":false,\"categories\":[\"phishing\",\"malware\",\"scam\",\"adult\",\"dating\",\"gambling\",\"crypto\",\"spam\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"scores\": [\n    {\n      \"id\": 123,\n      \"url\": \"https:\/\/example.xyz\",\n      \"tag\": \"your_tag_here\",\n      \"risk_score\": 12,\n      \"reason\": \"Suspicious TLD (.xyz)\",\n      \"domain_flagged\": false,\n      \"url_flagged\": false,\n      \"ai_flagged\": false,\n      \"flagged_categories\": [\"phishing\"],\n      \"final_url\": \"https:\/\/example.xyz\/login\",\n      \"created_at\": \"2024-01-01T12:00:00.000000Z\",\n      \"updated_at\": \"2024-01-01T12:00:00.000000Z\"\n    }\n  ]\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "List threat logs for the authenticated user.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/link\/list",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Optional. Page number for pagination.",
                                    "disabled": false
                                },
                                {
                                    "key": "tag",
                                    "value": "tag-123",
                                    "description": "Optional. Filter logs by tag (exact match).",
                                    "disabled": false
                                },
                                {
                                    "key": "flagged_categories%5B0%5D",
                                    "value": "phishing",
                                    "description": "Optional. Filter logs by flagged categories (any match).",
                                    "disabled": false
                                },
                                {
                                    "key": "flagged_categories%5B1%5D",
                                    "value": "scam",
                                    "description": "Optional. Filter logs by flagged categories (any match).",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/link\/list?page=1&tag=tag-123&flagged_categories%5B0%5D=phishing&flagged_categories%5B1%5D=scam"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"current_page\": 1,\n  \"data\": [\n    {\n      \"id\": 123,\n      \"url\": \"https:\/\/example.xyz\",\n      \"tag\": \"your_tag_here\",\n      \"risk_score\": 12,\n      \"reason\": \"Suspicious TLD (.xyz)\",\n      \"domain_flagged\": false,\n      \"url_flagged\": false,\n      \"ai_flagged\": false,\n      \"flagged_categories\": [\"phishing\"],\n      \"final_url\": \"https:\/\/example.xyz\/login\",\n      \"created_at\": \"2024-01-01T12:00:00.000000Z\",\n      \"updated_at\": \"2024-01-01T12:00:00.000000Z\"\n    }\n  ],\n  \"first_page_url\": \"https:\/\/example.test\/api\/v1\/link\/list?page=1\",\n  \"from\": 1,\n  \"next_page_url\": null,\n  \"path\": \"https:\/\/example.test\/api\/v1\/link\/list\",\n  \"per_page\": 15,\n  \"prev_page_url\": null,\n  \"to\": 1\n}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "key",
                "value": null,
                "type": "string"
            }
        ]
    }
}