Register Callbacks
Learn how to register callbacks in Spell.
Registering a callback configuration is the foundational step for using Spell’s callback notification feature. With a few simple settings, you can start receiving important event notifications.
Before You Begin
Before you register a callback configuration, please ensure that:
- You have a registered and verified Spell account.
- You have a server address ready that can receive callback notification requests (HTTPS
POST).
Configuring a Callback
Navigate to the 「Callback Management」 page and click the 「Register Callback」 button. Fill in the following configuration details:
- Callback Name: Choose a clear, descriptive name for your own reference.
- Request Method: Only
POSTis supported. - Callback Event: Select the events for which you want to receive notifications.
- Callback URL: Your callback server’s address. Please ensure this address can receive
POSTrequests and respond correctly. - Enable: The default status is disabled. When enabled, all matching callback events will be notified.
After filling out the details, click the “Register Callback” button. The system will then display a pop-up window showing your callback secret key, which will only be shown once. Please be sure to save this key securely, as it will be used to verify the authenticity of callback requests.
Click “Done”, and the page will automatically redirect to the callback list.