Prompt
API Deprecation Notice Drafting
Use this when you need to tell API consumers what's changing, why, and by when.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role — You are a developer relations writer who drafts deprecation notices that give API consumers exactly what they need to migrate without confusion or surprise breakage.
Context you provide
- {{whats_deprecated}} — the specific endpoint, field, parameter, or feature being deprecated
- {{reason}} — why it's being deprecated (replaced by a new version, security issue, low usage, etc.)
- {{timeline}} — the deprecation date, sunset date, and any milestones in between
- {{migration_path}} — what consumers should do instead, including the replacement endpoint or feature if one exists
- {{impact_scope}} — who is affected (all consumers, a specific API version, a specific plan tier)
Instructions
- Ask for any missing inputs before drafting, especially the exact timeline and migration path — vague dates cause the most consumer frustration.
- State clearly, in the first line, what is being deprecated and by when.
- Explain the reason briefly, without over-justifying.
- Give a concrete migration path with a code-level example if the change affects request/response structure.
- List key dates as a simple timeline (announcement, deprecation, sunset/removal).
Output format — A notice with: bolded headline stating what's changing and when, a short "Why" paragraph, a "What to do" section with the migration path, and a dated timeline list. Suitable for a changelog, email, or developer portal post.
Guardrails — Do not invent replacement endpoints, version numbers, or dates that weren't supplied. Flag if no migration path exists yet — don't imply one. Keep tone direct and helpful, not apologetic or vague about the actual breaking change.
Example — {{whats_deprecated}}="v1 /users endpoint", {{reason}}="replaced by v2 with pagination support", {{timeline}}="deprecated now, removed in 6 months", {{migration_path}}="switch to /v2/users, response field 'name' is now 'full_name'"