Skip to content
goodprompts

Audit third-party API integrations for reliability and failure risks

Audits a codebase's external API, SDK and webhook integrations for failure handling, data consistency and security issues; the reader supplies the application code.

CodingSuggested models Any LLMby @Sujay__Raj on X

The prompt

4,090 characters
Act as a Senior Backend Engineer and API Integration Specialist. Perform a thorough audit of every third-party API, SDK, external service and webhook integration in my application. Inspect the actual implementation. Trace how requests are made, how responses are processed, and how failures affect the rest of the application. 1. Integration inventory -Identify every external API and service the application depends on. -Map which features depend on each service. -Trace where API clients, SDKs and provider-specific logic are implemented. -Identify critical services that could become single points of failure. 2. API usage and response validation -Review the actual endpoints and methods being used. -Compare request and response structures with available provider documentation. -Check whether API versions and SDK versions are supported. -Identify assumptions about fields that could be missing, null or incorrectly formatted. -Check whether API responses are validated before being used. -Find outdated endpoints, deprecated methods and incompatible SDK usage. 3. Failure handling and reliability -Check whether API requests have appropriate timeouts. -Review handling of rate limits, server errors and unavailable services. -Check whether retries are bounded and use exponential backoff where appropriate. -Identify retries that could accidentally perform duplicate operations. -Review handling of partial failures and interrupted requests. -Check whether the application can gracefully handle external service downtime. 4. Webhooks and asynchronous events -Verify webhook signatures before processing events. -Check whether duplicate webhook deliveries are safely handled. -Review delayed and out-of-order event processing. -Identify missing idempotency protections. -Check whether failed webhook processing can be retried safely. -Review event logging and recovery mechanisms. 5. Data consistency -Check whether local database records can become inconsistent with provider records. -Review what happens when an API request succeeds but the database update fails. -Identify operations that could partially complete. -Check whether payment, subscription or other important statuses are verified against trusted provider-side data. -Review reconciliation and recovery mechanisms where applicable. 6. Security and performance -Check how API keys and credentials are configured without exposing secret values. -Identify secrets accidentally exposed in frontend code, logs or error messages. -Find unnecessary repeated API requests. -Review caching, pagination and request limits. -Check whether sensitive data is sent to external providers unnecessarily. 7. Maintainability and monitoring -Identify provider-specific logic spread throughout the codebase. -Check whether integrations are structured so providers can be replaced without rewriting major application features. -Review error logging, monitoring and failure visibility. -Identify outdated dependencies and unnecessary integrations. IMPORTANT RULES: -Trace the actual implementation. Don't assume an integration works because its package is installed. -Don't replace working integrations just to modernise them. -Don't expose API keys, tokens or sensitive user data. -Don't change production API settings or perform real transactions. -Don't modify production data. -Use sandbox environments for integration tests. -Clearly distinguish confirmed issues from potential risks. -Don't claim an API violates its documentation unless you can verify the relevant behaviour. FINAL DELIVERABLE: 1. Complete external service inventory. 2. Feature-to-API dependency map. 3. Confirmed integration bugs and reliability risks. 4. Outdated API endpoints, SDKs and incorrect usage. 5. Webhook, retry and data consistency problems. 6. Security and performance concerns. 7. Prioritised recommendations with implementation guidance. 8. Safe integration test plan covering failures, retries, duplicate events and provider downtime. For every finding, explain what can fail, how it affects the application, and how to fix it safely.
4,090 characters

Model ratings

3.9 / 5

Strongest on the task. Weakest on the output and the situation.

  • Astra
  • Fable
  • Neon

Worth fixing

  • It needs text or details it gives you no place to add.3 of 3 models
  • It doesn't say how long or how detailed the output should be.2 of 3 models

Rated

Wording only. The models read the prompt without running it.

  • AstraOpenAI · gpt-6.2-astra
  • FableAnthropic · claude-fable-5-2
  • NeonGoogle · gemini-4-neon-high

About this prompt

Category
Coding
Suggested models
Any LLM
Published
Nov 20, 2026

Is this your post? Email [email protected] to ask us to remove this prompt.

Tags
#error-handling#api-integration#code-audit#webhooks#backend-review

published by @finds

Comments

Details

Category
Coding
Suggested models
Any LLM
Published
Nov 20, 2026

Is this your post? Email [email protected] to ask us to remove this prompt.

Tags
#error-handling#api-integration#code-audit#webhooks#backend-review
Published byGoodPrompts Finds@finds · 76 published
View profile

Comments

No comments yet.

More like this

Frontend state audit prompt for reviewing app codeCodingPlanning and building a data animation explainer as a canvas HTML fileCodingReview a pull request for scope creep and risksCodingDesign a system architecture for an appCoding4 blanksAudit a codebase for authorization and tenant isolation flawsCoding