Sign In
Subscribe

Webhooks (Beta feature)

Use the Webhook API to publish posts to your desired channel without connecting to Slashpage.
🚧
Webhooks are a feature currently being tested with beta testers. If you would like to use it, please click ? > Help at the bottom left of the screen to apply.
➕
Development knowledge is required to use the webhook feature. If you encounter any difficulties, please contact the Slashpage official inquiry channel .

Webhook integration

Click Site Settings at the top left of the screen .
Click External Service Integration > Webhook .
Click New Integration , select the channel to integrate the webhook, and then click Next .
After selecting either the default profile or a new profile, click Next .
➕
Default Profile: Uses the profile image and nickname of the currently logged-in account for the author's profile.
New Profile: Set the author's profile image and nickname
If you click Create Token , a token key will be issued.

Using Webhooks

If you fill in the following content and call the Webhook API in your development tool, a post will be automatically registered in the channel.
If you want to issue to multiple channels, you must issue a separate token for each channel.
Title : Article Title
Body: Text body in Markdown format
Token Key: The token key issued above
코드 예시 curl -X POST -H "Content-Type: application/json" --data-raw '{"title":"{Title of article}", "body":"{Text in markdown format}"}' https://slashpage.com/api-webhook/note/MY_DOMAIN_NAME/MY_CHANNEL_HASH/{YOUR_TOKEN_KEY}

Webhook Management

You can manage each integration by clicking the icon next to its name.
History: Check post publication history
Edit: Check token information
Delete: Delete the corresponding linked information