Skip to content

Update notification forward target

PUT
/api/v2/client/applications/{application_id}/notification-forward-targets/{notificationForwardTarget_id}
curl --request PUT \
--url https://app.affisemmp.com/api/v2/client/applications/1/notification-forward-targets/16 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "platform": "google", "environment": "sandbox", "url": "https://example.com/rtdn", "enabled": false }'
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
platform

One of: apple, google.

string
Example
google
environment

One of: prod, sandbox.

string
Example
sandbox
url

Public HTTPS endpoint.

string
Example
https://example.com/rtdn
enabled
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": 34,
"application_id": 371,
"platform": "apple",
"environment": "prod",
"url": "https://dubuque.net/notifications",
"secret": "201b28dc-a350-4cbf-a000-56e81da14de5",
"enabled": true,
"created_at": "2026-11-25T12:56:08Z",
"updated_at": "2026-11-25T12:56:08Z"
}
}