Skip to content

Create notification forward target

POST
/api/v2/client/applications/{application_id}/notification-forward-targets
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.

application_id
required
integer

The ID of the application.

Example
1
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
true
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"
}
}