{
  "opencollection": "1.0.0",
  "info": {
    "name": "PDCP agents users API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Feedback",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/user/feedback",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Add user feedback"
        },
        {
          "info": {
            "name": "Email user deletion verification code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/user/delete/code",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "generate and email user deletion verification code"
        },
        {
          "info": {
            "name": "Get User Profile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/user",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get user profile and permissions"
        },
        {
          "info": {
            "name": "Delete user from system along with all data",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.projectdiscovery.io/v1/user",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Delete user from system along with all data"
        },
        {
          "info": {
            "name": "Get API Key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/user/apikey",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get user api-key"
        },
        {
          "info": {
            "name": "Create API Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/user/apikey",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Create user api-key, this won't create a new api-key if it already exists."
        },
        {
          "info": {
            "name": "Delete API Key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.projectdiscovery.io/v1/user/apikey",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Delete user api-key"
        },
        {
          "info": {
            "name": "Get User Setup Statistics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/user/onboarding_status",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get user setup statistics"
        },
        {
          "info": {
            "name": "Get Billing Assets details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/user/billing_assets",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get billing assets details"
        },
        {
          "info": {
            "name": "Get Promocode Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/user/promo_code",
            "params": [
              {
                "name": "promo_code",
                "value": "",
                "type": "query",
                "description": "Promocode to get details for"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get promocode details"
        },
        {
          "info": {
            "name": "Apply Promocode",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/user/promo_code",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Apply promocode"
        },
        {
          "info": {
            "name": "Rotate API Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/user/apikey/rotate",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Rotate user api-key"
        },
        {
          "info": {
            "name": "Request Domain Verification",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/user/domain-verification/request",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Request domain ownership verification through DNS TXT record. Only root domains are supported."
        },
        {
          "info": {
            "name": "Confirm Domain Verification",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/user/domain-verification/confirm",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Confirm domain ownership by checking if the required DNS TXT record has been added."
        },
        {
          "info": {
            "name": "Get Domain Verification Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/user/domain-verification/status",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get the status of all domain verification requests for the authenticated user, including pending, verified, and expired requests."
        },
        {
          "info": {
            "name": "Get Subscription Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/user/subscription",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get user subscription status"
        },
        {
          "info": {
            "name": "Update current subscription",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.projectdiscovery.io/v1/user/subscription",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Update current subscription"
        }
      ]
    }
  ],
  "bundled": true
}