Skip to content

Toggle notification forward target

POST
/api/v2/client/applications/{application_id}/notification-forward-targets/{notificationForwardTarget_id}/toggle
curl --request POST \
--url https://app.affisemmp.com/api/v2/client/applications/1/notification-forward-targets/16/toggle \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "enabled": false }'

Turns forwarding to this endpoint on or off without deleting it.

application_id
required
integer

The ID of the application.

Example
1
notificationForwardTarget_id
required
integer

The ID of the notificationForwardTarget.

Example
16
Media type application/json
object
enabled
required
boolean
Example
false
Media type application/json
object
data
object
id
integer
application_id
integer
platform
string
environment
string
url
string
secret
string
enabled
boolean
created_at
string
updated_at
string
Example
{
"data": {
"id": 35,
"application_id": 372,
"platform": "apple",
"environment": "prod",
"url": "https://hirthe.com/notifications",
"secret": "f0413209-aaf6-4561-bafd-8b70eef28ed9",
"enabled": true,
"created_at": "2026-11-25T12:56:08Z",
"updated_at": "2026-11-25T12:56:08Z"
}
}