Skip to content

Regenerate notification forward target secret

POST
/api/v2/client/applications/{application_id}/notification-forward-targets/{notificationForwardTarget_id}/regenerate-secret
curl --request POST \
--url https://app.affisemmp.com/api/v2/client/applications/1/notification-forward-targets/16/regenerate-secret \
--header 'Authorization: Bearer <token>'

Rotates the HMAC secret. Copies signed with the previous secret are not retried, so the receiving endpoint should accept both values while it is being rolled out.

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
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": 36,
"application_id": 373,
"platform": "apple",
"environment": "prod",
"url": "https://dare.org/notifications",
"secret": "a915b89e-15de-4566-80ee-a1041d1b82cd",
"enabled": true,
"created_at": "2026-11-25T12:56:08Z",
"updated_at": "2026-11-25T12:56:08Z"
}
}