list-campaigns
curl --request GET \
--url https://api.notifly.tech/v1/projects/{projectId}/campaigns \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.notifly.tech/v1/projects/{projectId}/campaigns"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.notifly.tech/v1/projects/{projectId}/campaigns', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.notifly.tech/v1/projects/{projectId}/campaigns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.notifly.tech/v1/projects/{projectId}/campaigns"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.notifly.tech/v1/projects/{projectId}/campaigns")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.notifly.tech/v1/projects/{projectId}/campaigns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"campaigns": [
{
"id": "a1B2c3",
"name": "Welcome push",
"description": "Sent 1 hour after sign-up",
"status": "active",
"type": "standard",
"channel": "push-notification",
"segment_type": "condition",
"timing": {
"timing_type": "event-based",
"interval": null,
"starts": [
1796050800
],
"delay": 3600,
"end": 1803826800
},
"created_at": "2026-11-28T02:15:30.000Z",
"updated_at": "2026-11-30T08:40:12.000Z"
},
{
"id": "Xy9Zk2",
"name": "December promotion AlimTalk",
"description": null,
"status": "draft",
"type": "standard",
"channel": "kakao-alimtalk",
"segment_type": "csv",
"timing": {
"timing_type": "scheduled",
"interval": null,
"starts": [
1796432400
],
"delay": null,
"end": null
},
"created_at": "2026-11-25T06:00:00.000Z",
"updated_at": "2026-11-25T06:10:45.000Z"
}
],
"next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0xMS0yNVQwNjowMDowMC4wMDBaIiwiaWQiOiJYeTlaazIifQ"
},
"error": null
}{
"data": null,
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid campaign list query: page_size: Number must be less than or equal to 100"
}
}{
"data": null,
"error": {
"code": "UNAUTHENTICATED",
"message": "Invalid Authorization Token."
}
}{
"data": null,
"error": {
"code": "PERMISSION_DENIED",
"message": "Invalid Access."
}
}{
"data": null,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid Authorization Token"
}
}Campaigns and journeys
List campaigns
List the campaigns in a project and filter them by status, channel, and timing type.
GET
/
v1
/
projects
/
{projectId}
/
campaigns
list-campaigns
curl --request GET \
--url https://api.notifly.tech/v1/projects/{projectId}/campaigns \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.notifly.tech/v1/projects/{projectId}/campaigns"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.notifly.tech/v1/projects/{projectId}/campaigns', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.notifly.tech/v1/projects/{projectId}/campaigns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.notifly.tech/v1/projects/{projectId}/campaigns"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.notifly.tech/v1/projects/{projectId}/campaigns")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.notifly.tech/v1/projects/{projectId}/campaigns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"campaigns": [
{
"id": "a1B2c3",
"name": "Welcome push",
"description": "Sent 1 hour after sign-up",
"status": "active",
"type": "standard",
"channel": "push-notification",
"segment_type": "condition",
"timing": {
"timing_type": "event-based",
"interval": null,
"starts": [
1796050800
],
"delay": 3600,
"end": 1803826800
},
"created_at": "2026-11-28T02:15:30.000Z",
"updated_at": "2026-11-30T08:40:12.000Z"
},
{
"id": "Xy9Zk2",
"name": "December promotion AlimTalk",
"description": null,
"status": "draft",
"type": "standard",
"channel": "kakao-alimtalk",
"segment_type": "csv",
"timing": {
"timing_type": "scheduled",
"interval": null,
"starts": [
1796432400
],
"delay": null,
"end": null
},
"created_at": "2026-11-25T06:00:00.000Z",
"updated_at": "2026-11-25T06:10:45.000Z"
}
],
"next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0xMS0yNVQwNjowMDowMC4wMDBaIiwiaWQiOiJYeTlaazIifQ"
},
"error": null
}{
"data": null,
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid campaign list query: page_size: Number must be less than or equal to 100"
}
}{
"data": null,
"error": {
"code": "UNAUTHENTICATED",
"message": "Invalid Authorization Token."
}
}{
"data": null,
"error": {
"code": "PERMISSION_DENIED",
"message": "Invalid Access."
}
}{
"data": null,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid Authorization Token"
}
}This endpoint uses the same lookup logic as the
list_campaigns tool in the Notifly MCP server. Use it to list campaigns from your server or internal tools and filter them by status, channel, and timing type without MCP.- Campaigns are returned from the most recently created.
- If you omit
status, the response includes every campaign except deleted ones. Deleted campaigns are returned only when you setstatus=deleted. - When you combine filters, only campaigns that match all of them are returned (AND).
- The response includes basic campaign information and a timing summary only. It does not include message content, targeting conditions, or delivery statistics.
- Undefined query parameters, such as
limit, return400. Usepage_sizeto set the page size.
data.next_cursor value, pass it unchanged as the next_cursor query parameter in the next request. A next_cursor of null means you reached the last page. Send the same filters as the first request when you request the next page.
# 1) First page of active app push campaigns
curl -G "https://api.notifly.tech/v1/projects/{projectId}/campaigns" \
-H "Authorization: Bearer {token}" \
--data-urlencode "status=active" \
--data-urlencode "channel=push-notification" \
--data-urlencode "page_size=50"
# 2) Next page: same filters + next_cursor from the previous response
curl -G "https://api.notifly.tech/v1/projects/{projectId}/campaigns" \
-H "Authorization: Bearer {token}" \
--data-urlencode "status=active" \
--data-urlencode "channel=push-notification" \
--data-urlencode "page_size=50" \
--data-urlencode "next_cursor={next_cursor}"
Use a returned campaign
id to call Trigger a campaign or Get detailed campaign statistics. To find only campaigns sent through the API, filter with timing_type=api.Authorizations
Path Parameters
Query Parameters
Delivery channel filter. Use text-message for text messages (SMS, LMS, and MMS).
Available options:
push-notification, web-push-notification, in-app-message, in-web-message, kakao-alimtalk, kakao-friendtalk, kakao-brand-message, text-message, rcs, email, line, webhook, cafe24-app-push-notification 