Skip to main content

Installation

Add the package via Swift Package Manager:
https://github.com/apialerts/apialerts-swift

Usage

import ApiAlerts

let client = ApiAlerts("YOUR-API-KEY")

// Simple notification
client.send(message: "Deployment successful")

// With all options
client.send(
    message: "New user signed up",
    channel: "developers",
    link: "https://dashboard.example.com/users/123",
    tags: ["signup", "organic"]
)

Resources

GitHub Repository

Full documentation, examples, and source code.