emailgeeks

emailgeeks · Acciones GPT

liveinboxer

Get the latest emails from top brands and check inboxing setup for a domain.

  • GET /liveinboxer.phpGet the latest email by brand

    With sender as input, this endpoint returns the latest email by the sender. Details include subject line, the email in markdown format and an image of the email.

  • GET /liveinboxer2.phpCheck inboxing setup for domain

    This endpoint returns the result of mxtoolbox api

  • POST /email.phpSend an HTML email

    This endpoint sends an HTML email to the specified recipient.

Esquema original API
{
  "openapi": "3.0.1",
  "info": {
    "title": "liveinboxer",
    "description": "Get the latest emails from top brands and check inboxing setup for a domain.",
    "version": "v1"
  },
  "paths": {
    "/liveinboxer.php": {
      "get": {
        "operationId": "liveinboxer",
        "summary": "Get the latest email by brand",
        "description": "With sender as input, this endpoint returns the latest email by the sender. Details include subject line, the email in markdown format and an image of the email.",
        "parameters": [
          {
            "in": "query",
            "name": "sender",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "Brand name or Email Sender"
          }
        ],
        "responses": {
          "200": {
            "description": "A JSON object of the email",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Email"
                }
              }
            }
          }
        }
      }
    },
    "/liveinboxer2.php": {
      "get": {
        "operationId": "liveinboxer2",
        "summary": "Check inboxing setup for domain",
        "description": "This endpoint returns the result of mxtoolbox api",
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "this should be a domain name."
          }
        ],
        "responses": {
          "200": {
            "description": "Output from mxtoolbox api",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MX-RESPONSE"
                }
              }
            }
          }
        }
      }
    },
    "/email.php": {
      "post": {
        "operationId": "sendEmail",
        "summary": "Send an HTML email",
        "description": "This endpoint sends an HTML email to the specified recipient.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email",
                    "description": "The email address to send the email to."
                  },
                  "html": {
                    "type": "string",
                    "description": "The HTML content of the email."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Email sent successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Email sent successfully"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Email": {
        "type": "object",
        "properties": {
          "subject": {
            "type": "string",
            "description": "The subject of the email"
          },
          "text": {
            "type": "string",
            "description": "The text content of the email"
          },
          "thumbnail": {
            "type": "string",
            "description": "The URL of the email thumbnail image"
          }
        }
      },
      "MX-RESPONSE": {
        "type": "object",
        "properties": {
          "UID": {
            "type": "string",
            "nullable": true
          },
          "ArgumentType": {
            "type": "string"
          },
          "Command": {
            "type": "string"
          },
          "IsTransitioned": {
            "type": "boolean"
          },
          "CommandArgument": {
            "type": "string"
          },
          "TimeRecorded": {
            "type": "string",
            "format": "date-time"
          },
          "ReportingNameServer": {
            "type": "string"
          },
          "TimeToComplete": {
            "type": "string"
          },
          "ResourceRecordType": {
            "type": "integer"
          },
          "IsEmptySubDomain": {
            "type": "boolean"
          },
          "IsEndpoint": {
            "type": "boolean"
          },
          "HasSubscriptions": {
            "type": "boolean"
          },
          "AlertgroupSubscriptionId": {
            "type": "string",
            "nullable": true
          },
          "Failed": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "Warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "Passed": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PassedItem"
            }
          },
          "Timeouts": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "Errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "IsError": {
            "type": "boolean"
          },
          "Information": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InformationItem"
            }
          },
          "MultiInformation": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "Transcript": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TranscriptItem"
            }
          },
          "MxRep": {
            "type": "integer"
          },
          "EmailServiceProvider": {
            "type": "string",
            "nullable": true
          },
          "DnsServiceProvider": {
            "type": "string"
          },
          "DnsServiceProviderIdentifier": {
            "type": "string"
          },
          "RelatedLookups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RelatedLookupItem"
            }
          }
        }
      },
      "PassedItem": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "integer"
          },
          "Name": {
            "type": "string"
          },
          "Info": {
            "type": "string"
          },
          "Url": {
            "type": "string"
          },
          "PublicDescription": {
            "type": "string",
            "nullable": true
          },
          "IsExcludedByUser": {
            "type": "boolean"
          }
        }
      },
      "InformationItem": {
        "type": "object",
        "properties": {
          "Prefix": {
            "type": "string"
          },
          "Type": {
            "type": "string"
          },
          "Value": {
            "type": "string"
          },
          "PrefixDesc": {
            "type": "string"
          },
          "Description": {
            "type": "string"
          },
          "RecordNum": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "TranscriptItem": {
        "type": "object",
        "properties": {
          "Transcript": {
            "type": "string"
          }
        }
      },
      "RelatedLookupItem": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string"
          },
          "URL": {
            "type": "string"
          },
          "Command": {
            "type": "string"
          },
          "CommandArgument": {
            "type": "string"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://plugins.liveinboxer.com"
    }
  ]
}