cURL
curl --request POST \ --url https://our-secret-api-url.com/tokens/push \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <x-api-key>' \ --data ' { "userId": "<string>", "title": "<string>", "body": "<string>" } '
{ "message": "<string>", "data": { "fcmTokens": [ "<string>" ], "response": {} } }
Send Push Notification
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
API key required for authentication
Push notification sent successfully
Show child attributes