Skip to content

Document AddGasSponsor auth requirements - #225

Merged
JamesLawton merged 3 commits into
masterfrom
mintlify/ab632470
Jul 30, 2026
Merged

Document AddGasSponsor auth requirements#225
JamesLawton merged 3 commits into
masterfrom
mintlify/ab632470

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Motivated by a support thread where a customer (StrayShot, project 43551) hit 403 PermissionDenied and then 401 AccessKeyNotFound calling AddGasSponsor because the auth requirements weren't documented. The endpoint requires both X-Access-Key and Authorization: Bearer <admin-secret> — sending only one produces exactly those errors.

Changes

  • api-references/transactions/endpoints/add-gas-sponsor.mdx — was previously an empty OpenAPI stub. Now describes what the endpoint does, the two required headers (with pointers to where to find each key in Builder), the chain-specific Relayer URLs, a working cURL example, and the common error responses.
  • api-references/transactions/endpoints/relayer-api.json — added a summary + description to the AddGasSponsor path, and updated its security block to require both ApiKeyAuth and BearerAuth together (AND rather than either/or), so the auto-generated API playground matches reality.
  • solutions/builder/gas-sponsorship.mdx — added a "Managing Gas Sponsors via API" section right before the webhook section, covering programmatic sponsor management with the same auth requirements and example.

Generated by Mintlify Agent.

Requested by: jlawton@polygon.technology via Slack
Mintlify session: slack_1785413466.434049_C071DTH2RUM

@mintlify
mintlify Bot requested a review from a team as a code owner July 30, 2026 13:03
Sync file structure, format locales. Branch: 225/merge
@mintlify

mintlify Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
sequence 🟢 Ready View Preview Jul 30, 2026, 1:05 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@JamesLawton
JamesLawton merged commit 6430bc1 into master Jul 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant