Palbase Notify · API
/notify/topics/{name}/subscriptionFollow a topic
The signed-in user follows a topic. A user follows only a topic the project opened to them (self_subscribe).
Called by a signed-in user of your app, with their token and the publishable key.
Path
namestring · requiredThe topic's name.Headers
Idempotency-Keystring · optionalMakes the write safe to send again (at most 255 characters). A retry with the same key and the same request gets the first answer back, marked `Idempotent-Replayed: true`, and changes nothing; the same key with a different request is refused with 422, and while the first request still runs a retry gets 409 with Retry-After. Answers are kept for 24 hours.curl -X POST "https://<your-ref>.palbase.studio/notify/topics/<name>/subscription" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN"Responses
204Following
401Missing or invalid API key
403The project adds this topic's followers itself (topic_closed), or the caller is not a signed-in user
404No such provider, template or message
409A request with this Idempotency-Key is still running
422The Idempotency-Key was sent with a different request
429Over the project's request limit, or its shared sends for this window
503Temporarily unavailable; retrying is safe after Retry-After
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation FollowTopic of notify's contract.