API Integration Guide Writer

Developmentdevelopmentapiintegrationcoding

API integration guide with auth flows, code examples, pagination, webhooks, and production checklist.

Prompt
Write a guide for integrating with: {{api_name}}

API type: {{api_type}}
My stack: {{stack}}
Auth method: {{auth_method}}
Use case: {{use_case}}

Create:

1. **Setup**:
   - Account creation and API key generation steps
   - Required environment variables
   - Recommended SDK/library installation
   - Rate limits and quotas to be aware of

2. **Authentication**:
   - Complete auth flow code (copy-paste ready)
   - Token refresh handling
   - Error handling for auth failures
   - Security best practices (never hardcode keys, use env vars)

3. **Core operations** (for my use case):
   For each operation:
   - Endpoint, method, headers
   - Request body with all parameters explained
   - Full code example
   - Response parsing
   - Error handling for common failures

4. **Pagination handling**: How to fetch all results when paginated

5. **Webhook setup** (if applicable):
   - How to receive webhooks
   - Signature verification
   - Retry handling

6. **Production checklist**:
   - [ ] Rate limiting/throttling implemented
   - [ ] Retry logic with exponential backoff
   - [ ] Error logging and monitoring
   - [ ] API key rotation strategy
   - [ ] Graceful degradation if API is down

What you get when you save this prompt

Your workspace unlocks powerful tools to iterate and improve.

AI OPTIMIZE

AI Optimization

One-click improvement with structure analysis and pattern suggestions.

VERSION DIFF

Version History

Track every edit. Compare versions side-by-side with word-level diffs.

ORGANIZE
Development
Code Review
Testing
Marketing

Folders & Tags

Organize your library with nested folders, tags, and drag-and-drop.

MCP
$ npm i -g @promptingbox/mcp
Claude · Cursor · ChatGPT

Use Everywhere

Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.

Your prompts, organized

Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.