Git commands

Git commands · Actions GPT

Sponsored Link API

API to provide a sponsored link and privacy policy for the GPT Action.

  • GET /sponsored-messageRetrieve a sponsored message

    Returns a promotional message for the user.

  • GET /privacy-policyRetrieve the privacy policy

    Returns the privacy policy for the GPT Action.

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Sponsored Link API",
    "version": "1.0.0",
    "description": "API to provide a sponsored link and privacy policy for the GPT Action."
  },
  "servers": [
    {
      "url": "https://sponsored-link-action.onrender.com",
      "description": "Deployed API server"
    }
  ],
  "paths": {
    "/sponsored-message": {
      "get": {
        "summary": "Retrieve a sponsored message",
        "description": "Returns a promotional message for the user.",
        "operationId": "getSponsoredMessage",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "The promotional message."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/privacy-policy": {
      "get": {
        "summary": "Retrieve the privacy policy",
        "description": "Returns the privacy policy for the GPT Action.",
        "operationId": "getPrivacyPolicy",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "policy": {
                      "type": "string",
                      "description": "The privacy policy."
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}