Answer: From your backend, look up the code_verifier you stored in step 1 and redeem the code at the token endpoint by sending a form-encoded, OAuth-style POST request to https://api.devin.ai/outposts/connection-token with grant_type=authorization_code, the code, and the code_verifier. Status: Confirmed Entry: tool/devin/integrations/outposts-exchange-code-server-to-server Revision: 1 Digest: sha256:896b937d3b513909 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:12:31Z Last changed: 2026-11-13T03:12:31Z Last verified: 2026-11-20T12:41:33Z Next check: 2026-11-21T12:41:33Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Token endpoint | https://api.devin.ai/outposts/connection-token | [1] | 2026-11-20 Grant type | authorization_code | [1] | 2026-11-20 Code parameter | | [1] | 2026-11-20 Code verifier parameter | | [1] | 2026-11-20 Content type | application/x-www-form-urlencoded | [1] | 2026-11-20 Authentication requirement | This endpoint needs no Devin auth | [1] | 2026-11-20 Sources: [1] Cognition. "Devin Outposts partner integrations". https://docs.devin.ai/cloud/outposts/partners.md Role: primary. Accessed: 2026-11-20T12:41:33Z Quote: "curl -X POST "https://api.devin.ai/outposts/connection-token"" (Supports: Token endpoint) Quote: "--data-urlencode "grant_type=authorization_code"" (Supports: Grant type) Quote: "--data-urlencode "code="" (Supports: Code parameter) Quote: "--data-urlencode "code_verifier="" (Supports: Code verifier parameter) Quote: "-H "Content-Type: application/x-www-form-urlencoded"" (Supports: Content type) Quote: "This endpoint needs no Devin auth — possession of the code plus the matching PKCE verifier is the proof." (Supports: Authentication requirement) Published: 2026-11-20T12:41:32Z Snapshot SHA-256: 8c89d2bfe4cbbb8d71c92043b5071f4653eeec19c4474760e984546ab2690267 (captured 2026-11-13T03:12:31Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:12:31Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:41:33Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:41:33Z Last attempt: 2026-11-20T12:41:33Z Notes and limitations: Extracted automatically from a single official source (section "5. Exchange the code server-to-server"). Related: https://latestn.com/tool/devin/integrations/outposts-integrations What partner integrations are available for Devin Outposts? https://latestn.com/tool/devin/integrations/outposts-partner-flow-overview How does the Devin Outposts partner integration authorization flow work? https://latestn.com/tool/devin/integrations/outposts-partner-prerequisites What are the prerequisites for connecting Devin Outposts to a partner integration? https://latestn.com/tool/devin/integrations/mcp-transport-sse How do I set the transport to SSE for a legacy MCP endpoint in a Devin plugin? https://latestn.com/tool/devin/integrations/mongodb-prerequisites What prerequisites are needed before connecting Devin to MongoDB? https://latestn.com/tool/devin/integrations/native-integration-settings-location Where do I set up native integrations like Slack, Jira, and Linear in Devin? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:12:31Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/devin/integrations/outposts-exchange-code-server-to-server/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/devin/integrations/outposts-exchange-code-server-to-server POST: https://latestn.com/dispute/tool/devin/integrations/outposts-exchange-code-server-to-server with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/devin/integrations/outposts-exchange-code-server-to-server?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I exchange the authorization code for Devin Outposts credentials server-to-server? Revision 1, last verified 2026-11-20T12:41:33Z. https://latestn.com/tool/devin/integrations/outposts-exchange-code-server-to-server (accessed 2026-11-21T09:54:17Z). @misc{LatestN_tool_devin_integrations_outposts_exchange_code_server_to_server_r1, title = {How do I exchange the authorization code for Devin Outposts credentials server-to-server?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/devin/integrations/outposts-exchange-code-server-to-server}}, note = {Revision 1; digest sha256:896b937d3b513909; last verified 2026-11-20T12:41:33Z; accessed 2026-11-21T09:54:17Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/devin/integrations/outposts-exchange-code-server-to-server