Custom API Integration Guide

Use our REST API to send custom notifications from any application, service, or platform using tools like Postman.

Prerequisites

  • Notifico app installed on your device
  • Postman app installed on your PC (or any HTTP client)
  • Basic understanding of REST APIs

Setup Steps

1

Create a Custom Channel

In the Notifico app, go to Create Channel and select Channel Type as 'Custom'. This will give you a flexible endpoint for sending any type of notification.

Create channel screen showing Custom selection
2

Copy API Credentials

Copy both the API URL and API Token from your channel. You'll use the URL as the endpoint and the token for authorization.

Channel details showing API URL and Token
3

Open Postman

Download and install Postman if you haven't already. Click 'New' and select 'HTTP' to create a new request.

4

Configure the Request

Set the request method to POST. Paste your API URL in the address bar.

Postman with POST method selected
Postman API URL field
5

Configure the Authorization

Go to the Authorization tab in Postman. Select 'Bearer Token' from the Type dropdown and paste your API Token in the token field.

Postman authorization tab with Bearer Token selected
Postman token field with API token entered
6

Configure the Request Body

Go to the Body tab in Postman. Select 'raw' and then 'JSON' format. Paste your notification payload in the text area. Find the sample payload below for reference.

Postman body set to raw JSON

Sample Request Body

Use this JSON structure as a template for your notification payload. You can include any combination of media types.

json
{
    "title": "Test Custom Channel",
    "description": "Includes multimedia examples from various sources.",
    "audio": [
        {
            "url": "https://github.com/rafaelreis-hotmart/Audio-Sample-files/raw/master/sample.mp3",
            "name": "SampleFile.mp3"
        }
    ],
    "videosUrl": [
        "https://videos.pexels.com/video-files/34686551/14702188_1440_2560_30fps.mp4"
    ],
    "imagesUrl": [
        "https://images.unsplash.com/photo-1501630834273-4b5604d2ee31"
    ],
    "files": [
        {
            "url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
            "name": "Test.pdf"
        }
    ],
    "htmlUrl": "https://www.weather.gov/safety/flood"
}
7

Send the Request

Click the 'Send' button. If successful, you'll receive a '201 Created' status response. If you get any other status, check your credentials and payload format.

Postman Send button
Postman showing 201 Created response

API Reference

FieldTypeDescription
titlestringThe notification title (required)
descriptionstringThe notification body text (required)
audioarrayArray of audio files with url and name
videosUrlarrayArray of video URLs
imagesUrlarrayArray of image URLs
filesarrayArray of files with url and name
htmlUrlstringURL to an HTML page to embed

💡 Pro Tips

  • • All fields except title are optional — send only what you need
  • • Use publicly accessible URLs for media files
  • • A 201 status code confirms successful delivery
  • • Ensure Content-Type header is set to application/json