{
  "service": "waboxapp",
  "displayName": "waboxapp",
  "categories": [
    "Communication",
    "Developer Tools"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Token",
      "placeholder": "WABOXAPP_API_TOKEN",
      "description": "Waboxapp API token used with the token parameter. Sign in to waboxapp and copy the API Token used to configure the waboxapp Chrome extension and REST API: https://www.waboxapp.com/login.",
      "extraFields": [
        {
          "key": "uid",
          "label": "Account UID",
          "inputType": "text",
          "required": true,
          "secret": false,
          "placeholder": "34666123456",
          "description": "The connected WhatsApp account phone number with international code, matching the uid field shown in the official Waboxapp API status examples."
        }
      ]
    }
  ],
  "homepageUrl": "https://www.waboxapp.com",
  "actions": [
    {
      "id": "waboxapp.get_account_status",
      "service": "waboxapp",
      "name": "get_account_status",
      "description": "Fetch the current Waboxapp account status for the connected WhatsApp number.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "account": {
            "type": "object",
            "properties": {
              "uid": {
                "type": "string",
                "description": "The connected WhatsApp account phone number with international code."
              },
              "hookUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The webhook callback URL configured for the connected account."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "alias": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The display name configured for the connected account."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "platform": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The smartphone platform reported by Waboxapp."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "batteryPercent": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The smartphone battery percentage reported by Waboxapp."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "plugged": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the connected smartphone is plugged in and charging."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The waboxapp web session locale."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Waboxapp status payload."
              }
            },
            "additionalProperties": false,
            "description": "Normalized Waboxapp account status fields."
          }
        },
        "additionalProperties": false,
        "required": [
          "account"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "waboxapp.send_chat",
      "service": "waboxapp",
      "name": "send_chat",
      "description": "Send a plain text WhatsApp chat message through Waboxapp.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string",
            "minLength": 1,
            "description": "The recipient phone number with international code."
          },
          "customUid": {
            "type": "string",
            "minLength": 1,
            "description": "Your custom unique ID for this outbound message. Waboxapp echoes it back on success and ACK events."
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "description": "The text message body to send."
          }
        },
        "additionalProperties": false,
        "required": [
          "to",
          "customUid",
          "text"
        ],
        "description": "Action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether Waboxapp accepted the message submission."
          },
          "customUid": {
            "type": "string",
            "description": "The custom unique ID echoed back by Waboxapp for this message."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Waboxapp response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "success",
          "customUid",
          "raw"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "waboxapp.send_image",
      "service": "waboxapp",
      "name": "send_image",
      "description": "Send an image by public URL through Waboxapp.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string",
            "minLength": 1,
            "description": "The recipient phone number with international code."
          },
          "customUid": {
            "type": "string",
            "minLength": 1,
            "description": "Your custom unique ID for this outbound message. Waboxapp echoes it back on success and ACK events."
          },
          "imageUrl": {
            "type": "string",
            "description": "The public image URL to send.",
            "format": "uri"
          },
          "caption": {
            "type": "string",
            "minLength": 1,
            "description": "The title shown on the image preview."
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "description": "The extended description shown on the image preview."
          }
        },
        "additionalProperties": false,
        "required": [
          "to",
          "customUid",
          "imageUrl"
        ],
        "description": "Action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether Waboxapp accepted the message submission."
          },
          "customUid": {
            "type": "string",
            "description": "The custom unique ID echoed back by Waboxapp for this message."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Waboxapp response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "success",
          "customUid",
          "raw"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "waboxapp.send_link",
      "service": "waboxapp",
      "name": "send_link",
      "description": "Send a link with preview metadata through Waboxapp.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string",
            "minLength": 1,
            "description": "The recipient phone number with international code."
          },
          "customUid": {
            "type": "string",
            "minLength": 1,
            "description": "Your custom unique ID for this outbound message. Waboxapp echoes it back on success and ACK events."
          },
          "linkUrl": {
            "type": "string",
            "description": "The public link URL to send.",
            "format": "uri"
          },
          "caption": {
            "type": "string",
            "minLength": 1,
            "description": "The title shown on the link preview."
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "description": "The extended description shown on the link preview."
          },
          "urlThumb": {
            "type": "string",
            "description": "The thumbnail image URL shown on the link preview.",
            "format": "uri"
          }
        },
        "additionalProperties": false,
        "required": [
          "to",
          "customUid",
          "linkUrl"
        ],
        "description": "Action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether Waboxapp accepted the message submission."
          },
          "customUid": {
            "type": "string",
            "description": "The custom unique ID echoed back by Waboxapp for this message."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Waboxapp response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "success",
          "customUid",
          "raw"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "waboxapp.send_media",
      "service": "waboxapp",
      "name": "send_media",
      "description": "Send a file attachment by public URL through Waboxapp.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string",
            "minLength": 1,
            "description": "The recipient phone number with international code."
          },
          "customUid": {
            "type": "string",
            "minLength": 1,
            "description": "Your custom unique ID for this outbound message. Waboxapp echoes it back on success and ACK events."
          },
          "mediaUrl": {
            "type": "string",
            "description": "The public file URL to send.",
            "format": "uri"
          },
          "caption": {
            "type": "string",
            "minLength": 1,
            "description": "The title shown on the file preview."
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "description": "The extended description shown on the file preview."
          },
          "urlThumb": {
            "type": "string",
            "description": "The thumbnail image URL shown on the file preview.",
            "format": "uri"
          }
        },
        "additionalProperties": false,
        "required": [
          "to",
          "customUid",
          "mediaUrl"
        ],
        "description": "Action input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether Waboxapp accepted the message submission."
          },
          "customUid": {
            "type": "string",
            "description": "The custom unique ID echoed back by Waboxapp for this message."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Waboxapp response payload."
          }
        },
        "additionalProperties": false,
        "required": [
          "success",
          "customUid",
          "raw"
        ],
        "description": "Action output."
      }
    }
  ]
}
