API Documentation
Integrate push notifications into your system using our REST API.
Endpoint
POST https://qiknotify.com/api/applications/send-message
Authentication
Include the following headers in every request:
App-UUID: your-uuid
App-Secret: your-secret
Request Body
Send a JSON object with the following fields:
- title – (string) The notification title
- content – (string) The body content
- url – (string, optional) Absolute or relative URL to open when clicked
{ "title": "the Order", "content": "All Jedi are enemies of the Republic and must be eliminated immediately.", "url": "https://your-service.com/order/66" }
Examples
cURL
curl --location 'https://qiknotify.com/api/applications/send-message' \ --header 'App-UUID: your-uuid' \ --header 'App-Secret: your-secret' \ --header 'Content-Type: application/json' \ --data '{ "title": "the Order", "content": "All Jedi are enemies of the Republic and must be eliminated immediately.", "url": "https://your-service.com/order/66" }'
Node.js (fetch)
await fetch("https://qiknotify.com/api/applications/send-message", { method: "POST", headers: { "App-UUID": "your-uuid", "App-Secret": "your-secret", "Content-Type": "application/json" }, body: JSON.stringify({ title: "the Order", content: "All Jedi are enemies of the Republic and must be eliminated immediately.", url: "https://your-service.com/order/66" }) });
PHP (cURL)
$ch = curl_init("https://qiknotify.com/api/applications/send-message"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, [ "App-UUID: your-uuid", "App-Secret: your-secret", "Content-Type: application/json" ]); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([ "title" => "the Order", "content" => "All Jedi are enemies of the Republic and must be eliminated immediately.", "url" => "https://your-service.com/order/66" ])); $response = curl_exec($ch); curl_close($ch);