Get started

Send a Hooonk

To send Hooonks, use the code provided within the Hooonk app. If you have any questions or issues with using the code to send Hooonks, you can reach out to the Hooonk support team for assistance.

Keep in mind that your notification preferences must be turned on before receiving Hooonks on the app.

Parameters


title (REQUIRED)

The title of you Hooonk.


logo (optional)

The logo you want to display next to your alert on the Hooonk app. Use light images as much as possible. If not provided, a placeholder will be used.


body (optional)

The body text of you Hooonk.

Returns


Return the Hooonk object.

Code

Request

curl https://api.hooonk.com/v1/send \
-X POST \
-H 'Content-Type: application/json' \
-H 'api-key: {YOUR_HOOONK_CODE}' \
-d '{"title": "My first Hooonk ever!!!", "logo": "https://hooonk.com/assets/icon.png", "body": "The description of my first Hooonk ever!!!"}'

Response

{
"id": "c6cd03d8-37c5-4445-bd28-93d1fef50375",
"title": "My first Hooonk ever!!!",
"logo": "https://hooonk.com/assets/icon.png",
"body": "The description of my first Hooonk ever!!!",
"created_at": "2021-01-30T08:30:00Z"
}

Native SDKs and custom integrations coming soon...