cURL
curl --request POST \ --url https://api.notifique.dev/v1/push/apps \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Meu App" } '
{ "success": true, "data": { "id": "<string>", "name": "<string>", "workspaceId": "<string>", "vapidPublicKey": "<string>", "hasVapidPrivate": true, "hasFcm": true, "hasApns": true, "allowedOrigins": [ "<string>" ], "promptConfig": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Cria um novo push app (nome). Chaves VAPID para Web Push são geradas automaticamente; FCM/APNs podem ser configuradas via PUT. Escopo: push:apps:manage. Limite por plano (PLAN_LIMIT_PUSH_APPS).
Authorization: Bearer sk_live_xxxxx
1 - 1024
Push app criado.
true
Show child attributes
Was this page helpful?