{
  "opencollection": "1.0.0",
  "info": {
    "name": "Earnipay Invoicing App Authentication API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Register new user account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/auth/signup",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Register new user account"
        },
        {
          "info": {
            "name": "Verify email with code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/auth/verify-email",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Verify email with code"
        },
        {
          "info": {
            "name": "Resend verification code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/auth/resend-code",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Resend verification code"
        },
        {
          "info": {
            "name": "Login with email and password",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/auth/login",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Login with email and password"
        },
        {
          "info": {
            "name": "Refresh access token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/auth/refresh",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Refresh access token"
        },
        {
          "info": {
            "name": "Logout user (invalidate refresh token)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/auth/logout",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Logout user (invalidate refresh token)"
        },
        {
          "info": {
            "name": "Request password reset link",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/auth/forgot-password",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Request password reset link"
        },
        {
          "info": {
            "name": "Reset password with token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/auth/reset-password",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Reset password with token"
        }
      ]
    }
  ],
  "bundled": true
}