100+ VIRAL Content Topic Generator

100+ VIRAL Content Topic Generator · Actions GPT

AUTHFLOW Paywall Verification API

API for verifying a users email address. Users must be registered to use this GPT

  • POST /v1/auth/paywall/verifyChecks if the provided email has an active Paywall subscription. Unlocks the rest of the GPT once validated
Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "AUTHFLOW Paywall Verification API",
    "description": "API for verifying a users email address. Users must be registered to use this GPT",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.authflow.ai",
      "description": "API Server dedicated to validating user registrations"
    }
  ],
  "paths": {
    "/v1/auth/paywall/verify": {
      "post": {
        "operationId": "checkActivePaywall",
        "summary": "Checks if the provided email has an active Paywall subscription. Unlocks the rest of the GPT once validated",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string",
                    "description": "Email address to verify for an active subscription."
                  },
                  "paywallKey": {
                    "type": "string",
                    "description": "*REQUIRED* must be sent with each request",
                    "enum": [
                      "cXEa+izqzbkd2I6/i1e8WBwY0X2TgqKgTId9uC8liNXnm+n6hHvds85+bQIXsaoV7vzNjxsf46WzV8L0T0CQHw=="
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Email is verified. User allowed to access the rest of this GPT.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "There was a problem with this request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Email is NOT verified. User NOT allowed to access the rest of this GPT.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}