Skip to main content
App builders write the code for you, so you add moderation with a prompt. You do two things yourself: store the API key as a secret, and paste the prompt.

1. Store the API key as a secret

Copy your project’s API key from the dashboard. Store it as a secret named MODAPI_SECRET_KEY. Do not paste the key into the chat.

2. Paste the prompt

3. Test it

Post a message that should be rejected, such as a scam or a threat, and check that your app blocks it. The request appears in the dashboard. To act on decisions that moderators make later in the review queue, add webhooks.