Messaging
Push notifications
Register a device push token, then send notifications. Delivery goes through your project's own FCM/APNs credential (configured by a project admin), since push can only be delivered by Google/Apple.
Register & send
# a signed-in device registers its token
POST /messaging/targets { "targetId":"unique()","provider":"fcm","token":"<DEVICE_TOKEN>" }
# send to a user (server key)
curl -X POST "https://base.finiteskills.com/v1/messaging/push" -H "X-Appwrite-Project: <YOUR_PROJECT_ID>" \
-H "X-Appwrite-Key: <API_KEY>" -H "Content-Type: application/json" \
-d '{"title":"Hi","body":"Your order shipped","userId":"USER_ID"}'
If no provider is configured, send returns 503 general_provider_unconfigured.
Account emails (verification, recovery) are sent by the platform when email is configured. For your own transactional email, send tokens/links from your app using the values FiniteBase returns.