Skip to main content
DELETE
Delete in-app message

Overview

Permanently delete an in-app message by its UUID.
Deletion is permanent and cannot be undone. To stop showing an in-app message and keep it, pause it with Pause or resume in-app message instead.
An in-app message used by a Journey cannot be deleted. The request returns 400 Bad Request with the error In-App Message is used by a Journey and cannot be deleted, and the in-app message is kept.

How to use this API

Authenticate with your App API Key. Find an in-app message’s id from the View in-app messages API.

Response

A successful request returns 200 OK with a confirmation body:

Headers

Authorization
string
default:Key YOUR_APP_API_KEY
required

Your App API key with prefix Key. See Keys & IDs.

Path Parameters

app_id
string
default:YOUR_APP_ID
required

Your OneSignal App ID in UUID v4 format. See Keys & IDs.

id
string
default:YOUR_IN_APP_MESSAGE_ID
required

UUID of the in-app message to delete.

Response

200

success
boolean

true when the request succeeded.

payload
object