{
  "opencollection": "1.0.0",
  "info": {
    "name": "Strapi Admin Panel Admin Authentication API",
    "version": "5.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Login with local credentials",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/auth/local",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Authenticates a user with their identifier (email or username) and password. Returns a JWT token and the user profile on successful authentication. The JWT token should be included in subsequent requests as an Authorization Bearer header."
        },
        {
          "info": {
            "name": "Register a new user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/auth/local/register",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new user account with the default Authenticated role. Returns a JWT token and the newly created user profile. Registration can be restricted or require email confirmation depending on the plugin configuration."
        },
        {
          "info": {
            "name": "Request a password reset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/auth/forgot-password",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sends a password reset email to the specified email address if an account exists. The email contains a link with a reset code that can be used with the reset-password endpoint."
        },
        {
          "info": {
            "name": "Reset a user password",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/auth/reset-password",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Resets a user's password using the code received via the forgot-password email. Both a new password and password confirmation must be provided and must match."
        },
        {
          "info": {
            "name": "Confirm a user email",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/auth/email-confirmation",
            "params": [
              {
                "name": "confirmation",
                "value": "",
                "type": "query",
                "description": "The email confirmation token"
              }
            ]
          },
          "docs": "Confirms a user's email address using the confirmation token sent via email during registration. This endpoint is typically accessed by clicking the confirmation link in the email."
        },
        {
          "info": {
            "name": "Resend email confirmation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/auth/send-email-confirmation",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Resends the email confirmation link to the specified email address. Useful when the original confirmation email was lost or expired."
        },
        {
          "info": {
            "name": "Change user password",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/auth/change-password",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Changes the password for the currently authenticated user. Requires the current password for verification along with the new password and confirmation."
        },
        {
          "info": {
            "name": "Social provider authentication callback",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/auth/:provider/callback",
            "params": [
              {
                "name": "provider",
                "value": "",
                "type": "path",
                "description": "The name of the authentication provider (e.g., google, github, facebook, twitter)"
              },
              {
                "name": "access_token",
                "value": "",
                "type": "query",
                "description": "The access token from the authentication provider"
              }
            ]
          },
          "docs": "Callback endpoint used during social provider authentication (e.g., Google, GitHub, Facebook). After the user authenticates with the provider, this endpoint processes the callback and returns a JWT token and user profile."
        }
      ]
    }
  ],
  "bundled": true
}