Share
Sign In
Home
Subscribe

Webhooks (Beta feature)

Use the Webhook API to post to any channel you want without having to connect to SlashPage.
🚧
Webhooks are a feature currently being tested by beta testers. If you would like to use it, please apply by visiting ? > Help center at the bottom left of the screen.
➕
To use the webhook feature, you need development knowledge. If you have any difficulties, please contact the official inquiry channel SlashPage .

Using webhooks

In the channel where you want to publish the article, click ••• in the upper right corner of the editing screen and select Channel Settings .
In the Webhook Token Management menu, click Add New Key and select either the default profile or a new profile.
➕
Default Profile: Use the profile image and nickname of the currently logged-in account as the author profile.
New Profile: Set a new profile image and nickname for the author.
When you select a profile, a token key is issued.
If you call the Webhook API with the content below in the development tool you are using, the post will be automatically registered in the channel.
If you want to issue to multiple channels, you will need to issue a separate token for each channel.
Title : Title of the article
Body: The body of the text in Markdown format.
Token Key: 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}