Fans a push notification out to every registered device binding belonging to the listed users. The server dispatches to APNs (iOS), FCM (Android), and the Web Push protocol in parallel, using whichever platform credentials are configured for this project.Requires a service key (Authorization: Bearer <serviceKey>). End-user tokens are rejected — this endpoint is intended for your backend, not for end users calling it directly.Requires the push bundle.
Body Parameters
string[]
required
Array of Sublay user IDs to notify. Between 1 and 100 IDs per request.
string
required
Notification title. Displayed as the bold heading on the device.
string
required
Notification body text.
object
Optional key-value data payload forwarded to the app alongside the notification. Values must be strings or serializable primitives. Use this to pass deep-link targets, IDs, or any context your app needs when the user taps the notification.recipientUserId is reserved. The server stamps every dispatched copy with the id of the account that copy is for, so a device signed into several accounts can tell which one a notification belongs to. A value you supply under that key is overwritten — an account-routing key has to be trustworthy.
One notification per account, not per device. A physical device can be bound to several accounts at once. If two of the userIds are signed in on the same device, that device receives two notifications — one per account, each with its own recipientUserId.
Rich payload fields
All optional. Each is mapped to whichever platform(s) support it at dispatch time and silently ignored on platforms that have no equivalent. See the Push Notifications guide for the client-side setup some of these require (Android channels, the iOS Notification Service Extension, your web service worker).
string
Sound file to play. iOS: APNs sound. Android: governed by the channel on 8+ — pair with channelId. Web: forwarded to the service worker.
number
iOS app-icon badge count (APNs badge). No Android equivalent. The caller supplies the number; Sublay tracks no unread state.
string
Android notification channel id (FCM android.notification.channel_id). The channel must be created client-side; on Android 8+ it owns sound/importance/vibration.
string
"high" or "normal". iOS: APNs apns-priority (10/5). Android: FCM android.priority. high wakes the device for time-sensitive pushes. Defaults to high when omitted.
string
iOS subtitle line under the title (APNs alert.subtitle).
string
Rich/big-picture image URL. Android (FCM image) and Web work out of the box. iOS additionally requires a Notification Service Extension in the app — the URL is forwarded in the payload and mutable-content is set automatically.
string
Display-replace key so notifications collapse in the UI (FCM android.notification.tag, Web tag). Scoped per recipient, exactly like collapseId below.The device receives a different string than you sent. Scoping appends ~ and a short digest of the recipient’s user id, so a push sent with tag: "thread-42" arrives carrying something like thread-42~9f3c1a8b. Client code that reads the delivered tag — a service worker matching open notifications, for instance — must not compare it to the value it sent. Match on a prefix, or carry your own key in data instead, which is passed through untouched.
string
Transport-level collapse identifier (APNs apns-collapse-id, FCM collapse_key) — a newer push supersedes an undelivered one carrying the same id for the same account.Scoped per recipient. Two accounts signed in on one physical device share one transport destination, so the server appends a short digest of the recipient’s id to the key you supply before handing it to the provider — the provider therefore sees a different string than you sent. Each account gets its own collapse namespace on the shared device and cannot supersede the other’s notification, while collapsing within a single account behaves exactly as the field describes.Over-length keys are folded rather than refused. APNs caps apns-collapse-id at 64 bytes. When your key plus the recipient digest would exceed that, the server replaces the whole scoped key with a fixed-width digest of it — still deterministic and still per-recipient, so collapsing keeps working — instead of letting APNs reject the send with BadCollapseId. FCM’s collapse_key and the display tag have no comparable documented ceiling, so nothing is folded on those paths. The parameter itself has no maximum: any non-empty string is accepted.
string
iOS notification grouping (APNs thread-id).
number
Time-to-live in seconds for offline devices (APNs apns-expiration computed from now, FCM android.ttl).
boolean
iOS mutable-content flag, enabling the app’s Notification Service Extension to modify the payload (e.g. attach imageUrl). Set implicitly when imageUrl is provided.
Response
Returns 200 with a results map keyed by user ID. Every requested userId is present in the response — users with no registered devices get an empty array rather than being omitted.
Map from user ID to an array of per-device delivery results.
Show per-device result fields
"ios" | "android" | "web"
The platform this result is for.
boolean
Whether the push was accepted by the upstream provider (APNs, FCM, or Web Push).
string
Present only when success is false. Common values:
"credentials_not_configured" — no provider config exists for this platform (or it is disabled)
Provider-specific error codes returned by APNs/FCM/Web Push
Tokens or subscriptions reported as permanently invalid by the upstream provider (e.g. APNs BadDeviceToken, FCM UNREGISTERED, Web Push HTTP 410) are automatically deleted during the send — no separate cleanup step is needed. A dead token is dead for the whole device, so every account bound to it is unbound, including accounts that were not part of this request.
Returned while the push bundle is mid-install. Retry shortly.
Server Error — 500
{ "error": "Internal server error.", "code": "push-send/server-error" }
The fan-out itself failed. Nothing beyond this code is returned. Note that a
failure while pruning dead tokens after delivery does not reach here — the
pushes were delivered and the response is still 200.
Rate limit: 50 requests per 5 minutes per IP. Exceeding it returns 429 with a plain-text message and no code.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sublay Documentation","colors":{"primary":"#D22F55","light":"#F06789","dark":"#9E1E3E"},"logo":{"light":"https://mintcdn.com/replyke/v1bBipIMITFr7df3/logo/wordmark-dark.png?fit=max\u0026auto=format\u0026n=v1bBipIMITFr7df3\u0026q=85\u0026s=b95cabb32c98884aa4bca294b07238cc","dark":"https://mintcdn.com/replyke/v1bBipIMITFr7df3/logo/wordmark-light.png?fit=max\u0026auto=format\u0026n=v1bBipIMITFr7df3\u0026q=85\u0026s=871e10ec08b164c26f260e845b44c5c5"},"favicon":"https://mintcdn.com/replyke/v1bBipIMITFr7df3/favicon.svg?fit=max\u0026auto=format\u0026n=v1bBipIMITFr7df3\u0026q=85\u0026s=4988ad1acfb2c3909d214fd1ea72e5d8","api":{"playground":{"display":"none"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.sublay.io"}},"navbar":{"links":[{"href":"https://dash.sublay.io","label":"Dashboard"}]},"footer":{"socials":{"github":"https://github.com/sublay-io"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"replyke","hasAudioNarration":false,"actualSubdomain":"replyke","customDomains":["docs.sublay.io"],"gitSource":{"type":"github","owner":"sublay-io","repo":"monorepo","deployBranch":"v8","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af74153a071dcdd90feee77","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"API Reference","count":521},{"language":"default","tag":"Hooks Reference","count":486},{"language":"default","tag":"SDK Reference","count":145},{"language":"default","tag":"Components","count":92},{"language":"default","tag":"Modules","count":84},{"language":"default","tag":"Spaces","count":68},{"language":"default","tag":"Data Models","count":55},{"language":"default","tag":"Models","count":55},{"language":"default","tag":"Workspaces","count":50},{"language":"default","tag":"JS SDK","count":44}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"v7/api-reference/push-notifications/send","slug":"/v7/api-reference/push-notifications/send","pageMetadata":{"title":"Send Push Notification","api":"POST /v7/:projectId/push-notifications/send","description":"Send a push notification to one or more users across all their registered devices","href":"/v7/api-reference/push-notifications/send"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send a push notification to one or more users across all their registered devices\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Fans a push notification out to every registered device binding belonging to the listed users. The server dispatches to APNs (iOS), FCM (Android), and the Web Push protocol in parallel, using whichever platform credentials are configured for this project.`}),`\n`,_jsxs(_components.p,{children:[`Requires a service key (`,_jsx(_components.code,{children:`Authorization: Bearer \u003cserviceKey>`}),`). End-user tokens are rejected — this endpoint is intended for your backend, not for end users calling it directly.`]}),`\n`,_jsxs(_components.p,{children:[`Requires the `,_jsx(_components.code,{children:`push`}),` bundle.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`userIds`,type:`string[]`,required:true,id:`param-user-ids`,children:_jsx(_components.p,{children:`Array of Sublay user IDs to notify. Between 1 and 100 IDs per request.`})}),`\n`,_jsx(ParamField,{body:`title`,type:`string`,required:true,id:`param-title`,children:_jsx(_components.p,{children:`Notification title. Displayed as the bold heading on the device.`})}),`\n`,_jsx(ParamField,{body:`body`,type:`string`,required:true,id:`param-body`,children:_jsx(_components.p,{children:`Notification body text.`})}),`\n`,_jsxs(ParamField,{body:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`Optional key-value data payload forwarded to the app alongside the notification. Values must be strings or serializable primitives. Use this to pass deep-link targets, IDs, or any context your app needs when the user taps the notification.`}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`recipientUserId`}),` is reserved.`]}),` The server stamps every dispatched copy with the id of the account that copy is for, so a device signed into several accounts can tell which one a notification belongs to. A value you supply under that key is overwritten — an account-routing key has to be trustworthy.`]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`One notification per account, not per device.`}),` A physical device can be bound to several accounts at once. If two of the `,_jsx(_components.code,{children:`userIds`}),` are signed in on the same device, that device receives two notifications — one per account, each with its own `,_jsx(_components.code,{children:`recipientUserId`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`rich-payload-fields`,children:`Rich payload fields`}),`\n`,_jsxs(_components.p,{children:[`All optional. Each is mapped to whichever platform(s) support it at dispatch time and silently ignored on platforms that have no equivalent. See the `,_jsx(_components.a,{href:`/v7/push-notifications#rich-notification-payloads`,children:`Push Notifications guide`}),` for the client-side setup some of these require (Android channels, the iOS Notification Service Extension, your web service worker).`]}),`\n`,_jsx(ParamField,{body:`sound`,type:`string`,id:`param-sound`,children:_jsxs(_components.p,{children:[`Sound file to play. iOS: APNs `,_jsx(_components.code,{children:`sound`}),`. Android: governed by the channel on 8+ — pair with `,_jsx(_components.code,{children:`channelId`}),`. Web: forwarded to the service worker.`]})}),`\n`,_jsx(ParamField,{body:`badge`,type:`number`,id:`param-badge`,children:_jsxs(_components.p,{children:[`iOS app-icon badge count (APNs `,_jsx(_components.code,{children:`badge`}),`). No Android equivalent. The caller supplies the number; Sublay tracks no unread state.`]})}),`\n`,_jsx(ParamField,{body:`channelId`,type:`string`,id:`param-channel-id`,children:_jsxs(_components.p,{children:[`Android notification channel id (FCM `,_jsx(_components.code,{children:`android.notification.channel_id`}),`). The channel must be created client-side; on Android 8+ it owns sound/importance/vibration.`]})}),`\n`,_jsx(ParamField,{body:`priority`,type:`string`,id:`param-priority`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\"high\"`}),` or `,_jsx(_components.code,{children:`\"normal\"`}),`. iOS: APNs `,_jsx(_components.code,{children:`apns-priority`}),` (10/5). Android: FCM `,_jsx(_components.code,{children:`android.priority`}),`. `,_jsx(_components.code,{children:`high`}),` wakes the device for time-sensitive pushes. Defaults to `,_jsx(_components.code,{children:`high`}),` when omitted.`]})}),`\n`,_jsx(ParamField,{body:`subtitle`,type:`string`,id:`param-subtitle`,children:_jsxs(_components.p,{children:[`iOS subtitle line under the title (APNs `,_jsx(_components.code,{children:`alert.subtitle`}),`).`]})}),`\n`,_jsx(ParamField,{body:`imageUrl`,type:`string`,id:`param-image-url`,children:_jsxs(_components.p,{children:[`Rich/big-picture image URL. Android (FCM `,_jsx(_components.code,{children:`image`}),`) and Web work out of the box. iOS additionally requires a Notification Service Extension in the app — the URL is forwarded in the payload and `,_jsx(_components.code,{children:`mutable-content`}),` is set automatically.`]})}),`\n`,_jsxs(ParamField,{body:`tag`,type:`string`,id:`param-tag`,children:[_jsxs(_components.p,{children:[`Display-replace key so notifications collapse in the UI (FCM `,_jsx(_components.code,{children:`android.notification.tag`}),`, Web `,_jsx(_components.code,{children:`tag`}),`). Scoped per recipient, exactly like `,_jsx(_components.code,{children:`collapseId`}),` below.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`The device receives a different string than you sent.`}),` Scoping appends `,_jsx(_components.code,{children:`~`}),` and a short digest of the recipient’s user id, so a push sent with `,_jsx(_components.code,{children:`tag: \"thread-42\"`}),` arrives carrying something like `,_jsx(_components.code,{children:`thread-42~9f3c1a8b`}),`. Client code that reads the delivered `,_jsx(_components.code,{children:`tag`}),` — a service worker matching open notifications, for instance — must not compare it to the value it sent. Match on a prefix, or carry your own key in `,_jsx(_components.code,{children:`data`}),` instead, which is passed through untouched.`]})]}),`\n`,_jsxs(ParamField,{body:`collapseId`,type:`string`,id:`param-collapse-id`,children:[_jsxs(_components.p,{children:[`Transport-level collapse identifier (APNs `,_jsx(_components.code,{children:`apns-collapse-id`}),`, FCM `,_jsx(_components.code,{children:`collapse_key`}),`) — a newer push supersedes an undelivered one carrying the same id `,_jsx(_components.strong,{children:`for the same account`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Scoped per recipient.`}),` Two accounts signed in on one physical device share one transport destination, so the server appends a short digest of the recipient’s id to the key you supply before handing it to the provider — the provider therefore sees a different string than you sent. Each account gets its own collapse namespace on the shared device and cannot supersede the other’s notification, while collapsing within a single account behaves exactly as the field describes.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Over-length keys are folded rather than refused.`}),` APNs caps `,_jsx(_components.code,{children:`apns-collapse-id`}),` at 64 bytes. When your key plus the recipient digest would exceed that, the server replaces the whole scoped key with a fixed-width digest of it — still deterministic and still per-recipient, so collapsing keeps working — instead of letting APNs reject the send with `,_jsx(_components.code,{children:`BadCollapseId`}),`. FCM’s `,_jsx(_components.code,{children:`collapse_key`}),` and the display `,_jsx(_components.code,{children:`tag`}),` have no comparable documented ceiling, so nothing is folded on those paths. The parameter itself has no maximum: any non-empty string is accepted.`]})]}),`\n`,_jsx(ParamField,{body:`threadId`,type:`string`,id:`param-thread-id`,children:_jsxs(_components.p,{children:[`iOS notification grouping (APNs `,_jsx(_components.code,{children:`thread-id`}),`).`]})}),`\n`,_jsx(ParamField,{body:`ttl`,type:`number`,id:`param-ttl`,children:_jsxs(_components.p,{children:[`Time-to-live in seconds for offline devices (APNs `,_jsx(_components.code,{children:`apns-expiration`}),` computed from now, FCM `,_jsx(_components.code,{children:`android.ttl`}),`).`]})}),`\n`,_jsx(ParamField,{body:`mutableContent`,type:`boolean`,id:`param-mutable-content`,children:_jsxs(_components.p,{children:[`iOS `,_jsx(_components.code,{children:`mutable-content`}),` flag, enabling the app’s Notification Service Extension to modify the payload (e.g. attach `,_jsx(_components.code,{children:`imageUrl`}),`). Set implicitly when `,_jsx(_components.code,{children:`imageUrl`}),` is provided.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`200`}),` with a `,_jsx(_components.code,{children:`results`}),` map keyed by user ID. Every requested `,_jsx(_components.code,{children:`userId`}),` is present in the response — users with no registered devices get an empty array rather than being omitted.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"results\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usr_abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ios\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"android\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usr_def456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usr_ghi789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"web\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"credentials_not_configured\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(ResponseField,{name:`results`,type:`object`,id:`param-results`,children:[_jsx(_components.p,{children:`Map from user ID to an array of per-device delivery results.`}),_jsxs(Expandable,{title:`per-device result fields`,children:[_jsx(ResponseField,{name:`platform`,type:`\"ios\" | \"android\" | \"web\"`,id:`param-platform`,children:_jsx(_components.p,{children:`The platform this result is for.`})}),_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the push was accepted by the upstream provider (APNs, FCM, or Web Push).`})}),_jsxs(ResponseField,{name:`reason`,type:`string`,id:`param-reason`,children:[_jsxs(_components.p,{children:[`Present only when `,_jsx(_components.code,{children:`success`}),` is `,_jsx(_components.code,{children:`false`}),`. Common values:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"credentials_not_configured\"`}),` — no provider config exists for this platform (or it is disabled)`]}),`\n`,_jsx(_components.li,{children:`Provider-specific error codes returned by APNs/FCM/Web Push`}),`\n`]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Tokens or subscriptions reported as permanently invalid by the upstream provider (e.g. APNs `,_jsx(_components.code,{children:`BadDeviceToken`}),`, FCM `,_jsx(_components.code,{children:`UNREGISTERED`}),`, Web Push HTTP 410) are automatically deleted during the send — no separate cleanup step is needed. A dead token is dead for the whole device, so `,_jsx(_components.strong,{children:`every`}),` account bound to it is unbound, including accounts that were not part of this request.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Invalid Body — 400`,id:`invalid-body-400`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"push-send/invalid-body\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Returned when `,_jsx(_components.code,{children:`userIds`}),` is empty, exceeds 100 entries, or required fields are missing.`]})]}),_jsxs(Accordion,{title:`Elevated Auth Required — 403`,id:`elevated-auth-required-403`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Service key required.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"auth/elevated-auth-required\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`Returned when called with an end-user access token instead of a service key.`})]}),_jsx(Accordion,{title:`Bundle Not Installed — 403`,id:`bundle-not-installed-403`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"database/tables-not-available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"missingTables\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PushProviderConfigs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PushDevices\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NotificationPreferences\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dashboardUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://…/\u003cprojectId>/database\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsxs(Accordion,{title:`Bundle Provisioning — 503`,id:`bundle-provisioning-503`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"database/tables-provisioning\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"missingTables\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PushProviderConfigs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PushDevices\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NotificationPreferences\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bundleId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"push\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`Returned while the `,_jsx(_components.code,{children:`push`}),` bundle is mid-install. Retry shortly.`]})]}),_jsxs(Accordion,{title:`Server Error — 500`,id:`server-error-500`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Internal server error.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"push-send/server-error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`The fan-out itself failed. Nothing beyond this code is returned. Note that a\nfailure while pruning dead tokens `,_jsx(_components.em,{children:`after`}),` delivery does not reach here — the\npushes were delivered and the response is still `,_jsx(_components.code,{children:`200`}),`.`]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rate limit:`}),` 50 requests per 5 minutes per IP. Exceeding it returns `,_jsx(_components.code,{children:`429`}),` with a plain-text message and no `,_jsx(_components.code,{children:`code`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`see-also`,children:`See Also`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/v7/node-sdk/push-notifications`,children:`Node SDK — push.send`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/v7/api-reference/push-notifications/register-device`,children:`Register Device`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/v7/push-notifications`,children:`Push Notifications overview`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Send Push Notification","api":"POST /v7/:projectId/push-notifications/send","description":"Send a push notification to one or more users across all their registered devices","href":"/v7/api-reference/push-notifications/send"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Body Parameters","slug":"body-parameters","depth":2,"children":[{"title":"Rich payload fields","slug":"rich-payload-fields","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":2,"children":[]},{"title":"See Also","slug":"see-also","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Send Push Notification","path":"/v7/:projectId/push-notifications/send","servers":[{"url":"https://api.sublay.io"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"userIds":[{"type":"array","items":[{"type":"string"}],"description":"Array of Sublay user IDs to notify. Between 1 and 100 IDs per request.","required":true}],"title":[{"type":"string","description":"Notification title. Displayed as the bold heading on the device.","required":true}],"body":[{"type":"string","description":"Notification body text.","required":true}],"data":[{"type":"object","properties":{},"description":"Optional key-value data payload forwarded to the app alongside the notification. Values must be strings or serializable primitives. Use this to pass deep-link targets, IDs, or any context your app needs when the user taps the notification. `recipientUserId` is reserved. The server stamps every dispatched copy with the id of the account that copy is for, so a device signed into several accounts can tell which one a notification belongs to. A value you supply under that key is overwritten — an account-routing key has to be trustworthy."}],"sound":[{"type":"string","description":"Sound file to play. iOS: APNs `sound` . Android: governed by the channel on 8+ — pair with `channelId` . Web: forwarded to the service worker."}],"badge":[{"type":"number","description":"iOS app-icon badge count (APNs `badge` ). No Android equivalent. The caller supplies the number; Sublay tracks no unread state."}],"channelId":[{"type":"string","description":"Android notification channel id (FCM `android.notification.channel_id` ). The channel must be created client-side; on Android 8+ it owns sound/importance/vibration."}],"priority":[{"type":"string","description":"`\"high\"` or `\"normal\"` . iOS: APNs `apns-priority` (10/5). Android: FCM `android.priority` . `high` wakes the device for time-sensitive pushes. Defaults to `high` when omitted."}],"subtitle":[{"type":"string","description":"iOS subtitle line under the title (APNs `alert.subtitle` )."}],"imageUrl":[{"type":"string","description":"Rich/big-picture image URL. Android (FCM `image` ) and Web work out of the box. iOS additionally requires a Notification Service Extension in the app — the URL is forwarded in the payload and `mutable-content` is set automatically."}],"tag":[{"type":"string","description":"Display-replace key so notifications collapse in the UI (FCM `android.notification.tag` , Web `tag` ). Scoped per recipient, exactly like `collapseId` below. The device receives a different string than you sent. Scoping appends `~` and a short digest of the recipient’s user id, so a push sent with `tag: \"thread-42\"` arrives carrying something like `thread-42~9f3c1a8b` . Client code that reads the delivered `tag` — a service worker matching open notifications, for instance — must not compare it to the value it sent. Match on a prefix, or carry your own key in `data` instead, which is passed through untouched."}],"collapseId":[{"type":"string","description":"Transport-level collapse identifier (APNs `apns-collapse-id` , FCM `collapse_key` ) — a newer push supersedes an undelivered one carrying the same id for the same account . Scoped per recipient. Two accounts signed in on one physical device share one transport destination, so the server appends a short digest of the recipient’s id to the key you supply before handing it to the provider — the provider therefore sees a different string than you sent. Each account gets its own collapse namespace on the shared device and cannot supersede the other’s notification, while collapsing within a single account behaves exactly as the field describes. Over-length keys are folded rather than refused. APNs caps `apns-collapse-id` at 64 bytes. When your key plus the recipient digest would exceed that, the server replaces the whole scoped key with a fixed-width digest of it — still deterministic and still per-recipient, so collapsing keeps working — instead of letting APNs reject the send with `BadCollapseId` . FCM’s `collapse_key` and the display `tag` have no comparable documented ceiling, so nothing is folded on those paths. The parameter itself has no maximum: any non-empty string is accepted."}],"threadId":[{"type":"string","description":"iOS notification grouping (APNs `thread-id` )."}],"ttl":[{"type":"number","description":"Time-to-live in seconds for offline devices (APNs `apns-expiration` computed from now, FCM `android.ttl` )."}],"mutableContent":[{"type":"boolean","description":"iOS `mutable-content` flag, enabling the app’s Notification Service Extension to modify the payload (e.g. attach `imageUrl` ). Set implicitly when `imageUrl` is provided."}]}}],"examples":{"example":{"value":{"userIds":["\u003cstring>"],"title":"\u003cstring>","body":"\u003cstring>","data":{},"sound":"\u003cstring>","badge":123,"channelId":"\u003cstring>","priority":"\u003cstring>","subtitle":"\u003cstring>","imageUrl":"\u003cstring>","tag":"\u003cstring>","collapseId":"\u003cstring>","threadId":"\u003cstring>","ttl":123,"mutableContent":true}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"results":[{"type":"object","properties":{"platform":[{"type":"object","properties":{},"description":"The platform this result is for."}],"success":[{"type":"boolean","description":"Whether the push was accepted by the upstream provider (APNs, FCM, or Web Push)."}],"reason":[{"type":"string","description":"Present only when `success` is `false` . Common values: `\"credentials_not_configured\"` — no provider config exists for this platform (or it is disabled) Provider-specific error codes returned by APNs/FCM/Web Push"}]},"description":"Map from user ID to an array of per-device delivery results."}]}}],"examples":{"example":{"value":{"results":{"platform":{},"success":true,"reason":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"replyke","siteName":"Sublay Documentation","title":"Send Push Notification - Sublay Documentation","navMaps":{"firstHrefInVersion":{"8.0.0":{"href":"/v8/api-reference/push-notifications/send","matchLevel":1},"7.0.0":{"href":"/v7/api-reference/push-notifications/send","matchLevel":0},"6.0.0":{"href":"/v6","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T18:34:17.047Z","originalFileLocation":"v7/api-reference/push-notifications/send.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Send a push notification to one or more users across all their registered devices\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sublay Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send Push Notification - Sublay Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a push notification to one or more users across all their registered devices\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sublay Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sublay.io/v7/api-reference/push-notifications/send\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://replyke.mintlify.site/_mintlify/api/og/v2?division=Push+Notification+Endpoints\u0026amp;title=Send+Push+Notification\u0026amp;description=Send+a+push+notification+to+one+or+more+users+across+all+their+registered+devices\u0026amp;theme=1f560c5aaf3e1f0507c7e36a\u0026amp;signature=13cb01c592699733ca67ac6bc11ba29f02dbaf5794bb442f241bfe84f1cb29e4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Send Push Notification - Sublay Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a push notification to one or more users across all their registered devices\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://replyke.mintlify.site/_mintlify/api/og/v2?division=Push+Notification+Endpoints\u0026amp;title=Send+Push+Notification\u0026amp;description=Send+a+push+notification+to+one+or+more+users+across+all+their+registered+devices\u0026amp;theme=1f560c5aaf3e1f0507c7e36a\u0026amp;signature=13cb01c592699733ca67ac6bc11ba29f02dbaf5794bb442f241bfe84f1cb29e4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/replyke/a1LNRWO56FGzWHgw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sublay Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D22F55\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sublay.io/v7/api-reference/push-notifications/send\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v7/api-reference/push-notifications/send.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sublay.io/#organization\",\"name\":\"Sublay Documentation\",\"url\":\"https://docs.sublay.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/replyke/v1bBipIMITFr7df3/logo/wordmark-dark.png?fit=max\u0026auto=format\u0026n=v1bBipIMITFr7df3\u0026q=85\u0026s=b95cabb32c98884aa4bca294b07238cc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sublay.io#website\",\"name\":\"Sublay Documentation\",\"url\":\"https://docs.sublay.io\",\"publisher\":{\"@id\":\"https://docs.sublay.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sublay.io/v7/api-reference/push-notifications/send#webpage\",\"url\":\"https://docs.sublay.io/v7/api-reference/push-notifications/send\",\"name\":\"Send Push Notification\",\"description\":\"Send a push notification to one or more users across all their registered devices\",\"dateModified\":\"2026-10-19T18:34:17.047Z\",\"isPartOf\":{\"@id\":\"https://docs.sublay.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sublay.io/v7/api-reference/push-notifications/send#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sublay.io/v7/api-reference/push-notifications/send#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Push Notification Endpoints\",\"item\":\"https://docs.sublay.io/v7/api-reference/push-notifications/register-device\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send Push Notification\",\"item\":\"https://docs.sublay.io/v7/api-reference/push-notifications/send\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sublay.io/v7/api-reference/push-notifications/send#apireference\",\"headline\":\"Send Push Notification\",\"name\":\"Send Push Notification\",\"description\":\"Send a push notification to one or more users across all their registered devices\",\"url\":\"https://docs.sublay.io/v7/api-reference/push-notifications/send\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sublay.io/v7/api-reference/push-notifications/send#webpage\"},\"dateModified\":\"2026-10-19T18:34:17.047Z\",\"publisher\":{\"@id\":\"https://docs.sublay.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sublay.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sublay Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sublay Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v7/api-reference/push-notifications/send.md","siteName":"Sublay Documentation","nav":{"global":null,"versions":[{"version":"8.0.0","tag":"Beta","pages":[{"title":"8.0.0","href":"/v8/api-reference/push-notifications/send"}]},{"version":"7.0.0","default":true,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/v7"}]},{"tab":"SDK Reference","pages":[{"title":"SDK Reference","href":"/v7/sdk/getting-started"}]},{"tab":"Hooks Reference","pages":[{"title":"Hooks Reference","href":"/v7/hooks/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Getting Started","href":"/v7/api-reference/getting-started"},{"title":"Authentication","href":"/v7/api-reference/authentication"}]},{"group":"Auth Endpoints","pages":[{"title":"Sign Up","api":"POST /v7/:projectId/auth/sign-up","href":"/v7/api-reference/auth/sign-up"},{"title":"Sign In","api":"POST /v7/:projectId/auth/sign-in","href":"/v7/api-reference/auth/sign-in"},{"title":"Sign Out","api":"POST /v7/:projectId/auth/sign-out","href":"/v7/api-reference/auth/sign-out"},{"title":"Change Password","api":"POST /v7/:projectId/auth/change-password","href":"/v7/api-reference/auth/change-password"},{"title":"Set Password","api":"POST /v7/:projectId/auth/set-password","href":"/v7/api-reference/auth/set-password"},{"title":"Request Access Token","api":"POST /v7/:projectId/auth/request-new-access-token","href":"/v7/api-reference/auth/request-access-token"},{"title":"Verify External User","api":"POST /v7/:projectId/auth/verify-external-user","href":"/v7/api-reference/auth/verify-external-user"},{"title":"Request Password Reset","api":"POST /v7/:projectId/auth/request-password-reset","href":"/v7/api-reference/auth/request-password-reset"},{"title":"Reset Password","api":"POST /v7/:projectId/auth/reset-password","href":"/v7/api-reference/auth/reset-password"},{"title":"Send Verification Email","api":"POST /v7/:projectId/auth/send-verification-email","href":"/v7/api-reference/auth/send-verification-email"},{"title":"Verify Email","api":"POST /v7/:projectId/auth/verify-email","href":"/v7/api-reference/auth/verify-email"},{"title":"Verify Email Link","api":"GET /v7/:projectId/auth/verify-email-link","href":"/v7/api-reference/auth/verify-email-link"},{"title":"Request Account Deletion","api":"POST /v7/:projectId/auth/request-account-deletion","href":"/v7/api-reference/auth/request-account-deletion"},{"title":"Confirm Account Deletion","api":"POST /v7/:projectId/auth/confirm-account-deletion","href":"/v7/api-reference/auth/confirm-account-deletion"}]},{"group":"OAuth Endpoints","pages":[{"title":"Authorize OAuth","api":"POST /v7/:projectId/oauth/authorize","href":"/v7/api-reference/oauth/authorize"},{"title":"Link OAuth Provider","api":"POST /v7/:projectId/oauth/link","href":"/v7/api-reference/oauth/link"},{"title":"List OAuth Identities","api":"GET /v7/:projectId/oauth/identities","href":"/v7/api-reference/oauth/list-identities"},{"title":"Unlink OAuth Identity","api":"DELETE /v7/:projectId/oauth/identities/:identityId","href":"/v7/api-reference/oauth/unlink-identity"}]},{"group":"User Endpoints","pages":[{"title":"Fetch User","api":"GET /v7/:projectId/users/:userId","href":"/v7/api-reference/users/fetch-user"},{"title":"Fetch User by Foreign ID","api":"GET /v7/:projectId/users/by-foreign-id","href":"/v7/api-reference/users/fetch-user-by-foreign-id"},{"title":"Fetch User by Username","api":"GET /v7/:projectId/users/by-username","href":"/v7/api-reference/users/fetch-user-by-username"},{"title":"Fetch User Suggestions","api":"GET /v7/:projectId/users/suggestions","href":"/v7/api-reference/users/fetch-user-suggestions"},{"title":"Check Username Availability","api":"GET /v7/:projectId/users/check-username","href":"/v7/api-reference/users/check-username-availability"},{"title":"Update User","api":"PATCH /v7/:projectId/users/:userId","href":"/v7/api-reference/users/update-user"},{"title":"Delete User","api":"DELETE /v7/:projectId/users/:userId","href":"/v7/api-reference/users/delete-user"}]},{"group":"User Follow Operations","pages":[{"title":"Follow User","api":"POST /v7/:projectId/users/:userId/follow","href":"/v7/api-reference/users/follows/follow-user"},{"title":"Get Follow Status","api":"GET /v7/:projectId/users/:userId/follow","href":"/v7/api-reference/users/follows/get-follow-status"},{"title":"Get Followers","api":"GET /v7/:projectId/users/:userId/followers","href":"/v7/api-reference/users/follows/get-followers"},{"title":"Get Followers Count","api":"GET /v7/:projectId/users/:userId/followers-count","href":"/v7/api-reference/users/follows/get-followers-count"},{"title":"Get Following","api":"GET /v7/:projectId/users/:userId/following","href":"/v7/api-reference/users/follows/get-following"},{"title":"Get Following Count","api":"GET /v7/:projectId/users/:userId/following-count","href":"/v7/api-reference/users/follows/get-following-count"},{"title":"Unfollow User","api":"DELETE /v7/:projectId/users/:userId/follow","href":"/v7/api-reference/users/follows/unfollow-user"}]},{"group":"User Connection Operations","pages":[{"title":"Request Connection","api":"POST /v7/:projectId/users/:userId/connection","href":"/v7/api-reference/users/connections/request-connection"},{"title":"Get Connection Status","api":"GET /v7/:projectId/users/:userId/connection","href":"/v7/api-reference/users/connections/get-connection-status"},{"title":"Get Connections","api":"GET /v7/:projectId/users/:userId/connections","href":"/v7/api-reference/users/connections/get-connections"},{"title":"Get Connections Count","api":"GET /v7/:projectId/users/:userId/connections-count","href":"/v7/api-reference/users/connections/get-connections-count"},{"title":"Remove Connection","api":"DELETE /v7/:projectId/users/:userId/connection","href":"/v7/api-reference/users/connections/remove-connection"}]},{"group":"User Block Operations","pages":[{"title":"Block User","api":"POST /v7/:projectId/users/:userId/block","href":"/v7/api-reference/users/blocks/block-user"},{"title":"Unblock User","api":"DELETE /v7/:projectId/users/:userId/block","href":"/v7/api-reference/users/blocks/unblock-user"},{"title":"Get Block Status","api":"GET /v7/:projectId/users/:userId/block","href":"/v7/api-reference/users/blocks/get-block-status"},{"title":"Fetch Blocked Users","api":"GET /v7/:projectId/blocks","href":"/v7/api-reference/blocks/fetch-blocks"}]},{"group":"Follow Endpoints","pages":[{"title":"Fetch Following","api":"GET /v7/:projectId/follows/following","href":"/v7/api-reference/follows/fetch-following"},{"title":"Fetch Followers","api":"GET /v7/:projectId/follows/followers","href":"/v7/api-reference/follows/fetch-followers"},{"title":"Fetch Following Count","api":"GET /v7/:projectId/follows/following-count","href":"/v7/api-reference/follows/fetch-following-count"},{"title":"Fetch Followers Count","api":"GET /v7/:projectId/follows/followers-count","href":"/v7/api-reference/follows/fetch-followers-count"},{"title":"Delete Follow","api":"DELETE /v7/:projectId/follows/:followId","href":"/v7/api-reference/follows/delete-follow"}]},{"group":"Connection Endpoints","pages":[{"title":"Fetch Connections","api":"GET /v7/:projectId/connections","href":"/v7/api-reference/connections/fetch-connections"},{"title":"Fetch Connections Count","api":"GET /v7/:projectId/connections/count","href":"/v7/api-reference/connections/fetch-connections-count"},{"title":"Fetch Sent Pending Connections","api":"GET /v7/:projectId/connections/pending/sent","href":"/v7/api-reference/connections/fetch-sent-pending"},{"title":"Fetch Received Pending Connections","api":"GET /v7/:projectId/connections/pending/received","href":"/v7/api-reference/connections/fetch-received-pending"},{"title":"Accept Connection","api":"PATCH /v7/:projectId/connections/:connectionId/accept","href":"/v7/api-reference/connections/accept-connection"},{"title":"Decline Connection","api":"PATCH /v7/:projectId/connections/:connectionId/decline","href":"/v7/api-reference/connections/decline-connection"},{"title":"Remove Connection","api":"DELETE /v7/:projectId/connections/:connectionId","href":"/v7/api-reference/connections/remove-connection"}]},{"group":"Entity Endpoints","pages":[{"title":"Create Entity","api":"POST /v7/:projectId/entities","href":"/v7/api-reference/entities/create-entity"},{"title":"Fetch Entity","api":"GET /v7/:projectId/entities/:entityId","href":"/v7/api-reference/entities/fetch-entity"},{"title":"Fetch Entity by Foreign ID","api":"GET /v7/:projectId/entities/by-foreign-id","href":"/v7/api-reference/entities/fetch-entity-by-foreign-id"},{"title":"Fetch Entity by Short ID","api":"GET /v7/:projectId/entities/by-short-id","href":"/v7/api-reference/entities/fetch-entity-by-short-id"},{"title":"Fetch Many Entities","api":"GET /v7/:projectId/entities","href":"/v7/api-reference/entities/fetch-many-entities"},{"title":"Fetch Drafts","api":"GET /v7/:projectId/entities/drafts","href":"/v7/api-reference/entities/fetch-drafts"},{"title":"Publish Entity","api":"PATCH /v7/:projectId/entities/:entityId/publish","href":"/v7/api-reference/entities/publish-entity"},{"title":"Fetch Top Comment","api":"GET /v7/:projectId/entities/:entityId/top-comment","href":"/v7/api-reference/entities/fetch-top-comment"},{"title":"Update Entity","api":"PATCH /v7/:projectId/entities/:entityId","href":"/v7/api-reference/entities/update-entity"},{"title":"Increment Entity Views","api":"PATCH /v7/:projectId/entities/:entityId/increment-views","href":"/v7/api-reference/entities/increment-entity-views"},{"title":"Delete Entity","api":"DELETE /v7/:projectId/entities/:entityId","href":"/v7/api-reference/entities/delete-entity"},{"title":"Add Entity Reaction","api":"POST /v7/:projectId/entities/:entityId/reactions","href":"/v7/api-reference/entities/add-reaction"},{"title":"Remove Entity Reaction","api":"DELETE /v7/:projectId/entities/:entityId/reactions","href":"/v7/api-reference/entities/remove-reaction"},{"title":"Fetch Entity Reactions","api":"GET /v7/:projectId/entities/:entityId/reactions","href":"/v7/api-reference/entities/fetch-reactions"},{"title":"Get User Reaction","api":"GET /v7/:projectId/entities/:entityId/reactions/me","href":"/v7/api-reference/entities/get-user-reaction"},{"title":"Is Entity Saved","api":"GET /v7/:projectId/entities/is-entity-saved","href":"/v7/api-reference/entities/is-entity-saved"}]},{"group":"Comment Endpoints","pages":[{"title":"Create Comment","api":"POST /v7/:projectId/comments","href":"/v7/api-reference/comments/create-comment"},{"title":"Fetch Comment","api":"GET /v7/:projectId/comments/:commentId","href":"/v7/api-reference/comments/fetch-comment"},{"title":"Fetch Comment by Foreign ID","api":"GET /v7/:projectId/comments/by-foreign-id","href":"/v7/api-reference/comments/fetch-comment-by-foreign-id"},{"title":"Fetch Many Comments","api":"GET /v7/:projectId/comments","href":"/v7/api-reference/comments/fetch-many-comments"},{"title":"Update Comment","api":"PATCH /v7/:projectId/comments/:commentId","href":"/v7/api-reference/comments/update-comment"},{"title":"Delete Comment","api":"DELETE /v7/:projectId/comments/:commentId","href":"/v7/api-reference/comments/delete-comment"},{"title":"Add Comment Reaction","api":"POST /v7/:projectId/comments/:commentId/reactions","href":"/v7/api-reference/comments/add-reaction"},{"title":"Remove Comment Reaction","api":"DELETE /v7/:projectId/comments/:commentId/reactions","href":"/v7/api-reference/comments/remove-reaction"},{"title":"Fetch Comment Reactions","api":"GET /v7/:projectId/comments/:commentId/reactions","href":"/v7/api-reference/comments/fetch-reactions"},{"title":"Get User Reaction","api":"GET /v7/:projectId/comments/:commentId/reactions/me","href":"/v7/api-reference/comments/get-user-reaction"}]},{"group":"Chat — Conversations","pages":[{"title":"List Conversations","api":"GET /v7/:projectId/chat/conversations","href":"/v7/api-reference/chat/conversations/list-conversations"},{"title":"Create Group Conversation","api":"POST /v7/:projectId/chat/conversations","href":"/v7/api-reference/chat/conversations/create-group"},{"title":"Create Direct Conversation","api":"POST /v7/:projectId/chat/conversations/direct","href":"/v7/api-reference/chat/conversations/create-direct"},{"title":"Get Unread Count","api":"GET /v7/:projectId/chat/conversations/unread-count","href":"/v7/api-reference/chat/conversations/unread-count"},{"title":"Fetch Conversation","api":"GET /v7/:projectId/chat/conversations/:conversationId","href":"/v7/api-reference/chat/conversations/fetch-conversation"},{"title":"Fetch Conversation Preview","api":"GET /v7/:projectId/chat/conversations/:conversationId/preview","href":"/v7/api-reference/chat/conversations/fetch-conversation-preview"},{"title":"Update Conversation","api":"PATCH /v7/:projectId/chat/conversations/:conversationId","href":"/v7/api-reference/chat/conversations/update-conversation"},{"title":"Delete Conversation","api":"DELETE /v7/:projectId/chat/conversations/:conversationId","href":"/v7/api-reference/chat/conversations/delete-conversation"},{"title":"Mute Conversation","api":"POST /v7/:projectId/chat/conversations/:conversationId/mute","href":"/v7/api-reference/chat/conversations/mute-conversation"}]},{"group":"Chat — Members","pages":[{"title":"List Members","api":"GET /v7/:projectId/chat/conversations/:conversationId/members","href":"/v7/api-reference/chat/members/list-members"},{"title":"Add Member","api":"POST /v7/:projectId/chat/conversations/:conversationId/members","href":"/v7/api-reference/chat/members/add-member"},{"title":"Remove Member","api":"DELETE /v7/:projectId/chat/conversations/:conversationId/members/:userId","href":"/v7/api-reference/chat/members/remove-member"},{"title":"Leave Conversation","api":"DELETE /v7/:projectId/chat/conversations/:conversationId/leave","href":"/v7/api-reference/chat/members/leave-conversation"},{"title":"Update Member Role","api":"PATCH /v7/:projectId/chat/conversations/:conversationId/members/:userId/role","href":"/v7/api-reference/chat/members/update-member-role"}]},{"group":"Chat — Messages","pages":[{"title":"List Messages","api":"GET /v7/:projectId/chat/conversations/:conversationId/messages","href":"/v7/api-reference/chat/messages/list-messages"},{"title":"Send Message","api":"POST /v7/:projectId/chat/conversations/:conversationId/messages","href":"/v7/api-reference/chat/messages/send-message"},{"title":"Fetch Message","api":"GET /v7/:projectId/chat/conversations/:conversationId/messages/:messageId","href":"/v7/api-reference/chat/messages/fetch-message"},{"title":"Edit Message","api":"PATCH /v7/:projectId/chat/conversations/:conversationId/messages/:messageId","href":"/v7/api-reference/chat/messages/edit-message"},{"title":"Delete Message","api":"DELETE /v7/:projectId/chat/conversations/:conversationId/messages/:messageId","href":"/v7/api-reference/chat/messages/delete-message"},{"title":"Toggle Message Reaction","api":"POST /v7/:projectId/chat/conversations/:conversationId/messages/:messageId/reactions","href":"/v7/api-reference/chat/messages/toggle-reaction"},{"title":"Fetch Reaction Users","api":"GET /v7/:projectId/chat/conversations/:conversationId/messages/:messageId/reactions","href":"/v7/api-reference/chat/messages/fetch-reaction-users"},{"title":"Mark as Read","api":"POST /v7/:projectId/chat/conversations/:conversationId/read","href":"/v7/api-reference/chat/messages/mark-as-read"}]},{"group":"Collection Endpoints","pages":[{"title":"Fetch Root Collection","api":"GET /v7/:projectId/collections/root","href":"/v7/api-reference/collections/fetch-root"},{"title":"Create Sub-Collection","api":"POST /v7/:projectId/collections/:collectionId/sub-collections","href":"/v7/api-reference/collections/create-sub-collection"},{"title":"Fetch Sub-Collections","api":"GET /v7/:projectId/collections/:collectionId/sub-collections","href":"/v7/api-reference/collections/fetch-sub-collections"},{"title":"Fetch Collection Entities","api":"GET /v7/:projectId/collections/:collectionId/entities","href":"/v7/api-reference/collections/fetch-entities"},{"title":"Add Entity to Collection","api":"POST /v7/:projectId/collections/:collectionId/entities","href":"/v7/api-reference/collections/add-entity"},{"title":"Remove Entity from Collection","api":"DELETE /v7/:projectId/collections/:collectionId/entities/:entityId","href":"/v7/api-reference/collections/remove-entity"},{"title":"Update Collection","api":"PATCH /v7/:projectId/collections/:collectionId","href":"/v7/api-reference/collections/update-collection"},{"title":"Delete Collection","api":"DELETE /v7/:projectId/collections/:collectionId","href":"/v7/api-reference/collections/delete-collection"}]},{"group":"App Notification Endpoints","pages":[{"title":"Fetch Notifications","api":"GET /v7/:projectId/app-notifications","href":"/v7/api-reference/app-notifications/fetch-notifications"},{"title":"Count Unread Notifications","api":"GET /v7/:projectId/app-notifications/count","href":"/v7/api-reference/app-notifications/count-unread"},{"title":"Mark Notification as Read","api":"PATCH /v7/:projectId/app-notifications/:notificationId/mark-as-read","href":"/v7/api-reference/app-notifications/mark-as-read"},{"title":"Mark All Notifications as Read","api":"PATCH /v7/:projectId/app-notifications/mark-all-as-read","href":"/v7/api-reference/app-notifications/mark-all-as-read"}]},{"group":"Push Notification Endpoints","pages":[{"title":"Register Device","api":"POST /v7/:projectId/push-notifications/devices","href":"/v7/api-reference/push-notifications/register-device"},{"title":"Deregister Device","api":"DELETE /v7/:projectId/push-notifications/devices","description":"Remove a device registration so the authenticated user stops receiving push notifications on it","href":"/v7/api-reference/push-notifications/deregister-device"},{"title":"Send Push Notification","api":"POST /v7/:projectId/push-notifications/send","href":"/v7/api-reference/push-notifications/send"},{"title":"Get VAPID Public Key","api":"GET /v7/:projectId/push-notifications/vapid-public-key","description":"Retrieve the project's VAPID public key for Web Push subscriptions","href":"/v7/api-reference/push-notifications/get-vapid-public-key"},{"title":"Get Notification Preferences","api":"GET /v7/:projectId/push-notifications/preferences","href":"/v7/api-reference/push-notifications/get-preferences"},{"title":"Update Notification Preferences","api":"PUT /v7/:projectId/push-notifications/preferences","href":"/v7/api-reference/push-notifications/update-preferences"}]},{"group":"Report Endpoints","pages":[{"title":"Create Report","api":"POST /v7/:projectId/reports","href":"/v7/api-reference/reports/create-report"},{"title":"Fetch Moderated Reports","api":"GET /v7/:projectId/reports/moderated","href":"/v7/api-reference/reports/fetch-moderated-reports"}]},{"group":"Search Endpoints","pages":[{"title":"Search Content","api":"POST /v7/:projectId/search/content","href":"/v7/api-reference/search/search-content"},{"title":"Search Users","api":"POST /v7/:projectId/search/users","href":"/v7/api-reference/search/search-users"},{"title":"Search Spaces","api":"POST /v7/:projectId/search/spaces","href":"/v7/api-reference/search/search-spaces"},{"title":"Ask Content","api":"POST /v7/:projectId/search/ask","href":"/v7/api-reference/search/ask"},{"title":"Match Users","api":"POST /v7/:projectId/match/users","href":"/v7/api-reference/match/match-users"}]},{"group":"Space Endpoints","pages":[{"title":"Create Space","api":"POST /v7/:projectId/spaces","href":"/v7/api-reference/spaces/create-space"},{"title":"Fetch Spaces","api":"GET /v7/:projectId/spaces","href":"/v7/api-reference/spaces/fetch-spaces"},{"title":"Fetch Space","api":"GET /v7/:projectId/spaces/:spaceId","href":"/v7/api-reference/spaces/fetch-space"},{"title":"Fetch Space by Short ID","api":"GET /v7/:projectId/spaces/by-short-id","href":"/v7/api-reference/spaces/fetch-space-by-short-id"},{"title":"Fetch Space by Slug","api":"GET /v7/:projectId/spaces/by-slug","href":"/v7/api-reference/spaces/fetch-space-by-slug"},{"title":"Fetch User Spaces","api":"GET /v7/:projectId/spaces/user-spaces","href":"/v7/api-reference/spaces/fetch-user-spaces"},{"title":"Fetch Mutual Spaces","api":"GET /v7/:projectId/spaces/mutual/:userId","href":"/v7/api-reference/spaces/fetch-mutual-spaces"},{"title":"Check Slug Availability","api":"GET /v7/:projectId/spaces/check-slug","href":"/v7/api-reference/spaces/check-slug"},{"title":"Update Space","api":"PATCH /v7/:projectId/spaces/:spaceId","href":"/v7/api-reference/spaces/update-space"},{"title":"Delete Space","api":"DELETE /v7/:projectId/spaces/:spaceId","href":"/v7/api-reference/spaces/delete-space"},{"title":"Fetch Space Children","api":"GET /v7/:projectId/spaces/:spaceId/children","href":"/v7/api-reference/spaces/fetch-children"},{"title":"Fetch Space Breadcrumb","api":"GET /v7/:projectId/spaces/:spaceId/breadcrumb","href":"/v7/api-reference/spaces/fetch-breadcrumb"}]},{"group":"Space — Membership","pages":[{"title":"Join Space","api":"POST /v7/:projectId/spaces/:spaceId/join","href":"/v7/api-reference/spaces/membership/join-space"},{"title":"Leave Space","api":"DELETE /v7/:projectId/spaces/:spaceId/leave","href":"/v7/api-reference/spaces/membership/leave-space"},{"title":"Check My Membership","api":"GET /v7/:projectId/spaces/:spaceId/membership/me","href":"/v7/api-reference/spaces/membership/check-my-membership"},{"title":"List Space Members","api":"GET /v7/:projectId/spaces/:spaceId/members","href":"/v7/api-reference/spaces/membership/list-members"},{"title":"List Space Team","api":"GET /v7/:projectId/spaces/:spaceId/team","href":"/v7/api-reference/spaces/membership/list-team"},{"title":"Approve Member","api":"PATCH /v7/:projectId/spaces/:spaceId/members/:memberId/approve","href":"/v7/api-reference/spaces/membership/approve-member"},{"title":"Decline Member","api":"PATCH /v7/:projectId/spaces/:spaceId/members/:memberId/decline","href":"/v7/api-reference/spaces/membership/decline-member"},{"title":"Ban Member","api":"PATCH /v7/:projectId/spaces/:spaceId/members/:memberId/ban","href":"/v7/api-reference/spaces/membership/ban-member"},{"title":"Unban Member","api":"PATCH /v7/:projectId/spaces/:spaceId/members/:memberId/unban","href":"/v7/api-reference/spaces/membership/unban-member"},{"title":"Update Member Role","api":"PATCH /v7/:projectId/spaces/:spaceId/members/:memberId/role","href":"/v7/api-reference/spaces/membership/update-member-role"}]},{"group":"Space — Rules","pages":[{"title":"List Rules","api":"GET /v7/:projectId/spaces/:spaceId/rules","href":"/v7/api-reference/spaces/rules/list-rules"},{"title":"Fetch Rule","api":"GET /v7/:projectId/spaces/:spaceId/rules/:ruleId","href":"/v7/api-reference/spaces/rules/fetch-rule"},{"title":"Create Rule","api":"POST /v7/:projectId/spaces/:spaceId/rules","href":"/v7/api-reference/spaces/rules/create-rule"},{"title":"Update Rule","api":"PATCH /v7/:projectId/spaces/:spaceId/rules/:ruleId","href":"/v7/api-reference/spaces/rules/update-rule"},{"title":"Delete Rule","api":"DELETE /v7/:projectId/spaces/:spaceId/rules/:ruleId","href":"/v7/api-reference/spaces/rules/delete-rule"},{"title":"Reorder Rules","api":"PATCH /v7/:projectId/spaces/:spaceId/rules/reorder","href":"/v7/api-reference/spaces/rules/reorder-rules"}]},{"group":"Space — Moderation","pages":[{"title":"Moderate Entity","api":"PATCH /v7/:projectId/spaces/:spaceId/entities/:entityId/moderation","href":"/v7/api-reference/spaces/moderation/moderate-entity"},{"title":"Moderate Comment","api":"PATCH /v7/:projectId/spaces/:spaceId/comments/:commentId/moderation","href":"/v7/api-reference/spaces/moderation/moderate-comment"},{"title":"Moderate Message","api":"PATCH /v7/:projectId/spaces/:spaceId/chat/messages/:messageId/moderation","href":"/v7/api-reference/spaces/moderation/moderate-message"},{"title":"Set Entity NSFW","api":"PATCH /v7/:projectId/spaces/:spaceId/entities/:entityId/nsfw","href":"/v7/api-reference/spaces/moderation/set-entity-nsfw"},{"title":"Handle Entity Report","api":"PATCH /v7/:projectId/spaces/:spaceId/reports/entity/:reportId","href":"/v7/api-reference/spaces/moderation/handle-entity-report"},{"title":"Handle Comment Report","api":"PATCH /v7/:projectId/spaces/:spaceId/reports/comment/:reportId","href":"/v7/api-reference/spaces/moderation/handle-comment-report"},{"title":"Handle Message Report","api":"PATCH /v7/:projectId/spaces/:spaceId/chat/reports/:reportId","href":"/v7/api-reference/spaces/moderation/handle-message-report"}]},{"group":"Space — Chat","pages":[{"title":"Get Space Conversation","api":"GET /v7/:projectId/spaces/:spaceId/conversation","href":"/v7/api-reference/spaces/chat/get-space-conversation"}]},{"group":"Workspace Endpoints","pages":[{"title":"Create Workspace","api":"POST /v7/:projectId/workspaces","href":"/v7/api-reference/workspaces/create-workspace"},{"title":"List Workspaces","api":"GET /v7/:projectId/workspaces","href":"/v7/api-reference/workspaces/fetch-workspaces"},{"title":"Fetch Workspace","api":"GET /v7/:projectId/workspaces/:id","href":"/v7/api-reference/workspaces/fetch-workspace"},{"title":"Update Workspace","api":"PATCH /v7/:projectId/workspaces/:id","href":"/v7/api-reference/workspaces/update-workspace"},{"title":"Flip Inherit Flag","api":"PATCH /v7/:projectId/workspaces/:id/inherit-flag","href":"/v7/api-reference/workspaces/update-inherit-flag"},{"title":"Delete Workspace","api":"DELETE /v7/:projectId/workspaces/:id","href":"/v7/api-reference/workspaces/delete-workspace"},{"title":"Transfer Ownership","api":"POST /v7/:projectId/workspaces/:id/transfer-ownership","href":"/v7/api-reference/workspaces/transfer-ownership"},{"title":"Read Authority","api":"GET /v7/:projectId/workspaces/:id/authority/me","href":"/v7/api-reference/workspaces/fetch-authority"}]},{"group":"Workspace — Membership","pages":[{"title":"List Members","api":"GET /v7/:projectId/workspaces/:id/members","href":"/v7/api-reference/workspaces/members/list-members"},{"title":"Fetch Member Standing","api":"GET /v7/:projectId/workspaces/:id/members/:userId","href":"/v7/api-reference/workspaces/members/fetch-member-standing"},{"title":"Update Member","api":"PATCH /v7/:projectId/workspaces/:id/members/:userId","href":"/v7/api-reference/workspaces/members/update-member"},{"title":"Remove Member","api":"DELETE /v7/:projectId/workspaces/:id/members/:userId","href":"/v7/api-reference/workspaces/members/remove-member"},{"title":"Leave Workspace","api":"DELETE /v7/:projectId/workspaces/:id/members/me","href":"/v7/api-reference/workspaces/members/leave-workspace"},{"title":"Remove From Subtree","api":"POST /v7/:projectId/workspaces/:id/members/:userId/remove-from-subtree","href":"/v7/api-reference/workspaces/members/remove-from-subtree"}]},{"group":"Workspace — Invitations","pages":[{"title":"Create Invite","api":"POST /v7/:projectId/workspaces/:id/invites","href":"/v7/api-reference/workspaces/invitations/create-invite"},{"title":"List Workspace Invites","api":"GET /v7/:projectId/workspaces/:id/invites","href":"/v7/api-reference/workspaces/invitations/list-invites"},{"title":"Revoke Invite","api":"POST /v7/:projectId/workspaces/:id/invites/:inviteId/revoke","href":"/v7/api-reference/workspaces/invitations/revoke-invite"},{"title":"Resend Invite","api":"POST /v7/:projectId/workspaces/:id/invites/:inviteId/resend","href":"/v7/api-reference/workspaces/invitations/resend-invite"},{"title":"Accept Invite","api":"POST /v7/:projectId/workspace-invites/:inviteId/accept","href":"/v7/api-reference/workspaces/invitations/accept-invite"},{"title":"Decline Invite","api":"POST /v7/:projectId/workspace-invites/:inviteId/decline","href":"/v7/api-reference/workspaces/invitations/decline-invite"},{"title":"List My Invites","api":"GET /v7/:projectId/me/workspace-invites","href":"/v7/api-reference/workspaces/invitations/list-my-invites"}]},{"group":"Event Endpoints","pages":[{"title":"Create Event","api":"POST /v7/:projectId/events","href":"/v7/api-reference/events/create-event"},{"title":"Fetch Event","api":"GET /v7/:projectId/events/:eventId","href":"/v7/api-reference/events/fetch-event"},{"title":"Fetch Many Events","api":"GET /v7/:projectId/events","href":"/v7/api-reference/events/fetch-many-events"},{"title":"Update Event","api":"PATCH /v7/:projectId/events/:eventId","href":"/v7/api-reference/events/update-event"},{"title":"Cancel Event","api":"POST /v7/:projectId/events/:eventId/cancel","href":"/v7/api-reference/events/cancel-event"},{"title":"Delete Event","api":"DELETE /v7/:projectId/events/:eventId","href":"/v7/api-reference/events/delete-event"},{"title":"Set RSVP","api":"POST /v7/:projectId/events/:eventId/rsvp","href":"/v7/api-reference/events/set-rsvp"},{"title":"Withdraw RSVP","api":"DELETE /v7/:projectId/events/:eventId/rsvp","href":"/v7/api-reference/events/withdraw-rsvp"},{"title":"Add Host","api":"POST /v7/:projectId/events/:eventId/hosts","href":"/v7/api-reference/events/add-host"},{"title":"Remove Host","api":"DELETE /v7/:projectId/events/:eventId/hosts","href":"/v7/api-reference/events/remove-host"},{"title":"Add Invite","api":"POST /v7/:projectId/events/:eventId/invites","href":"/v7/api-reference/events/add-invite"},{"title":"Remove Invite","api":"DELETE /v7/:projectId/events/:eventId/invites","href":"/v7/api-reference/events/remove-invite"},{"title":"Fetch Invitees","api":"GET /v7/:projectId/events/:eventId/invites","href":"/v7/api-reference/events/fetch-invitees"},{"title":"Fetch Event RSVPs","api":"GET /v7/:projectId/events/:eventId/rsvps","href":"/v7/api-reference/events/fetch-event-rsvps"}]},{"group":"Reputation Grant Endpoints","pages":[{"title":"Create Reputation Grant","api":"POST /v7/:projectId/reputation-grants","href":"/v7/api-reference/reputation-grants/create-reputation-grant"},{"title":"Mint Reputation Grant","api":"POST /v7/:projectId/reputation-grants/mint","href":"/v7/api-reference/reputation-grants/mint-reputation-grant"},{"title":"Fetch Many Reputation Grants","api":"GET /v7/:projectId/reputation-grants","href":"/v7/api-reference/reputation-grants/fetch-many-reputation-grants"},{"title":"Fetch User Grant History","api":"GET /dashboard/users/:userId/reputation-grants","href":"/v7/api-reference/reputation-grants/fetch-user-grant-history"}]},{"group":"Storage Endpoints","pages":[{"title":"Upload Image","api":"POST /v7/:projectId/storage/images","href":"/v7/api-reference/storage/upload-image"},{"title":"Upload File","api":"POST /v7/:projectId/storage","href":"/v7/api-reference/storage/upload-file"},{"title":"Fetch File","api":"GET /v7/:projectId/storage/:fileId","href":"/v7/api-reference/storage/fetch-file"},{"title":"Delete File","api":"DELETE /v7/:projectId/storage/:fileId","href":"/v7/api-reference/storage/delete-file"}]},{"group":"Custom Tables — Rows","pages":[{"title":"Fetch Rows","api":"GET /v7/:projectId/db/:tableName","href":"/v7/api-reference/custom-tables/fetch-many-rows"},{"title":"Fetch Row","api":"GET /v7/:projectId/db/:tableName/:rowId","href":"/v7/api-reference/custom-tables/fetch-row"},{"title":"Insert Row","api":"POST /v7/:projectId/db/:tableName","href":"/v7/api-reference/custom-tables/insert-row"},{"title":"Bulk Insert Rows","api":"POST /v7/:projectId/db/:tableName/bulk","href":"/v7/api-reference/custom-tables/bulk-insert-rows"},{"title":"Update Row","api":"PATCH /v7/:projectId/db/:tableName/:rowId","href":"/v7/api-reference/custom-tables/update-row"},{"title":"Delete Row","api":"DELETE /v7/:projectId/db/:tableName/:rowId","href":"/v7/api-reference/custom-tables/delete-row"},{"title":"Bulk Delete Rows","api":"DELETE /v7/:projectId/db/:tableName","href":"/v7/api-reference/custom-tables/bulk-delete-rows"},{"title":"Restore Row","api":"POST /v7/:projectId/db/:tableName/:rowId/restore","href":"/v7/api-reference/custom-tables/restore-row"}]},{"group":"Custom Tables — Management","pages":[{"title":"Create Table","api":"POST /v7/:projectId/db/tables","href":"/v7/api-reference/custom-tables/create-table"},{"title":"Drop Table","api":"DELETE /v7/:projectId/db/tables/:tableName","href":"/v7/api-reference/custom-tables/drop-table"},{"title":"Add Column","api":"POST /v7/:projectId/db/tables/:tableName/columns","href":"/v7/api-reference/custom-tables/add-column"},{"title":"Drop Column","api":"DELETE /v7/:projectId/db/tables/:tableName/columns/:columnName","href":"/v7/api-reference/custom-tables/drop-column"}]},{"group":"Utils","pages":[{"title":"Get URL Metadata","api":"GET /v7/:projectId/utils/get-metadata","href":"/v7/api-reference/utils/get-metadata"}]},{"group":"Crypto","pages":[{"title":"Sign Testing JWT","api":"POST /v7/:projectId/crypto/sign-testing-jwt","href":"/v7/api-reference/crypto/sign-testing-jwt"}]}]},{"tab":"Data Models","pages":[{"title":"Data Models","href":"/v7/data-models/user"}]},{"tab":"Node SDK","pages":[{"title":"Node SDK","href":"/v7/node-sdk/overview"}]},{"tab":"JS SDK","pages":[{"title":"JS SDK","href":"/v7/js-sdk/overview"}]},{"tab":"Components","pages":[{"title":"Components","href":"/v7/components/overview"}]}],"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dash.sublay.io"}]}},{"version":"6.0.0","pages":[{"title":"6.0.0","href":"/v6"}]}]},"basePath":"","title":"Send Push Notification - Sublay Documentation","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js"]}