For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Push Campaign Messages

Gets push campaign messages.

The Push channel delivers notifications to iOS, Android, and web — device registration, templates, campaigns, and provider integrations.

This endpoint returns the push campaign messages available in your project.

Gets push campaign messages

get
Authorizations
HTTPRequired

JWT Bearer Authorization

Path parameters
versionstring · nullableRequired

The CodeMash API version used to fetch data from the API. If not specified, the last version will be used. E.g.: v3

Query parameters
CampaignIdstring · nullableOptional

The push campaign id. Get it from get_push_campaigns.

CampaignBatchIdstring · nullableOptional

Optional: restrict results to this batch id. Get it from get_push_campaign_batches.

DatabaseIntegrationIdstring · nullableOptional

Optional database integration id; omit to use the project's default.

startingAfterstring · nullableOptional

Cursor token — fetch the page AFTER this item.

endingBeforestring · nullableOptional

Cursor token — fetch the page BEFORE this item.

pageSizeinteger · int32 · nullableOptional

Amount of records to return.

Header parameters
norbix-project-idstring · nullableRequired

ID of your project. Can be passed in a header as norbix-project-id.

norbix-envstring · nullableOptional

Target environment for this request (e.g. TEST, STAGING). Optional — when omitted the request runs against PROD. Can be passed in a header as norbix-env.

CultureCodestring · nullableOptional

Specify culture code when your response from the API should be localised. E.g.: en

TimeZoneIdstring · nullableOptional

TimeZone

CorrelationIdstring · nullableOptional

CorrelationId for each request

Responses
200

OK

application/json
get/{version}/notifications/push/campaigns/{campaignId}/messages
GET /{version}/notifications/push/campaigns/{campaignId}/messages HTTP/1.1
Host: hub.norbix.ai
Authorization: Bearer YOUR_SECRET_TOKEN
norbix-project-id: text
Accept: */*
200

OK

{
  "responseStatus": {
    "isSuccess": true
  },
  "list": {
    "items": [],
    "hasMore": true,
    "hasPrevious": true,
    "startingAfter": "text",
    "endingBefore": "text"
  }
}

In the dashboard

Manage this visually in Norbix Cloud — see Notifications.

Use it from code

Every Norbix SDK exposes this endpoint as a method — see Get Push Campaign Messages in the SDK reference, with examples in every language.

Last updated