Create notification forward target
POST
/api/v2/client/applications/{application_id}/notification-forward-targets
const url = 'https://app.affisemmp.com/api/v2/client/applications/1/notification-forward-targets';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"platform":"apple","environment":"prod","url":"https://example.com/assn","enabled":true}'};
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 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "platform": "apple", "environment": "prod", "url": "https://example.com/assn", "enabled": true }'The signing secret is generated here and returned in the response.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” application_id
required
integer
The ID of the application.
Example
1Request Body required
Section titled “Request Body required ” Media type application/json
object
platform
required
One of: apple, google.
string
Example
apple environment
required
One of: prod, sandbox.
string
Example
prod url
required
Public HTTPS endpoint.
string
Example
https://example.com/assn enabled
Whether the target receives copies. Defaults to true.
boolean
Example
trueResponses
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": 33, "application_id": 370, "platform": "apple", "environment": "prod", "url": "https://considine.com/notifications", "secret": "18a9c11a-8155-4753-9a2b-4ac2d7e8d9d0", "enabled": true, "created_at": "2026-11-25T12:56:08Z", "updated_at": "2026-11-25T12:56:08Z" }}