WitchPromptWitchPrompt
Prompt by @sadhvik/sadhvik/api-documentation

api-documentation

A reusable AI prompt by sadhvik with 7 variables: description, url and method and 4 more.

  • 7 variables
  • 0 presets
  • Updated

The prompt

api-documentation.prompt
Make an Endpoint documentation for following endpoint to handoff to frontend: Details: {{description}} Parameters: Base URL: {{url}} Method: {{method}} route: {{route}} Auth: {{auth}} Body: {{body}} Body Type: {{bodytype}}

Fill in the blanks

Your values7
0 of 7 filled

Variables in api-documentation

Each {{variable}} is a blank you fill in before running the prompt.

Variables used by api-documentation
VariableTypeRequiredDefaultOptionsAbout
descriptionTextOptionalNoneAny valueNo extra notes.
urlTextOptionalNoneAny valueNo extra notes.
methodDropdownOptionalNonePOST, GET, DELETE, PATCH, PUTNo extra notes.
routeTextOptionalNoneAny valueNo extra notes.
authTextOptionalNoneAny valueNo extra notes.
bodyTextOptionalNoneAny valueNo extra notes.
bodytypeTextOptionalNoneAny valueNo extra notes.

How to use this prompt

  1. Fill in 7 variables

    Type your own values for description, url and method and the rest and watch the prompt update as you go.

  2. Open it in your AI

    Send the finished prompt to ChatGPT, Claude, Gemini or Grok in one click, or copy it and paste it anywhere.

  3. Get a written answer

    Run it and the AI responds with a written answer. Change a value and run it again whenever you need a variation.

About this prompt

api-documentation is a reusable AI prompt template published by sadhvik on WitchPrompt.

Instead of rewriting the prompt each time, you fill in 7 variables (description, url, method, route, auth, body and bodytype) and the template does the rest.

It asks for a plain written answer. Last updated Aug 7, 2026.

Raw formats:.md.txt.jsonor embed it with Share.

More from sadhvik

All prompts by sadhvik

Looking for something else? Browse all public prompts.

Make your own reusable prompt. It's free.

Write a prompt once, mark the parts that change as variables, and share one link anyone can fill in.