Regenerate notification forward target secret
POST
/api/v2/client/applications/{application_id}/notification-forward-targets/{notificationForwardTarget_id}/regenerate-secret
const url = 'https://app.affisemmp.com/api/v2/client/applications/1/notification-forward-targets/16/regenerate-secret';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” application_id
required
integer
The ID of the application.
Example
1 notificationForwardTarget_id
required
integer
The ID of the notificationForwardTarget.
Example
16Responses
Section titled “ Responses ” 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" }}