Spendesk Authentication API

How to get an access token: Public API credentials (API keys) exchanged with HTTP Basic authentication, or OAuth 2.0 for partner apps — authorization code with PKCE, the token endpoint (code exchange and refresh), dynamic client registration and discovery metadata. Part of: [How to Authenticate](/reference/how-to-authenticate).

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

2 of 7 operations are conformant: apis.io called them with no credentials and the responses matched this contract. Checked 2026-11-12. how this works · status file

GET /.well-known/oauth-authorization-server Get OAuth server metadata · Authorization Server Metadata conformant #
Ask an LLM
“Where are the authorization and token endpoints for the Spendesk OAuth server?”
“What does RFC 8414 server metadata tell me about the authorization server?”
Tell an agent
Fetch the OAuth authorization server metadata.
Show the endpoints the authorization server publishes for OAuth.
GET /.well-known/oauth-protected-resource/v1/mcp Get metadata for the MCP protected resource · MCP Protected Resource Metadata conformant #
Ask an LLM
“What does the protected resource metadata for the MCP resource path say?”
“Can I read the protected resource metadata scoped to a particular resource path?”
Tell an agent
Get the protected resource metadata for the MCP resource path.
Fetch the resource indicator metadata for the MCP resource.
POST /v1/auth/token Create an access token for Public API credentials · Create Access Token (Public API credentials) #
Ask an LLM
“How do I get a bearer token for a server-to-server integration with Public API credentials?”
“Can I restrict the scope of a Public API access token?”
Tell an agent
Create an access token for Public API credentials with client ID and secret.
Issue a Public API bearer token scoped to {scope}.
GET /v1/oauth2/authorize Start the PKCE flow for an OAuth app · Request Authorization (OAuth app PKCE) #
Ask an LLM
“How do I start the PKCE authorization-code flow for an OAuth app?”
“What does the OAuth app authorization endpoint need to redirect after a user authorizes?”
Tell an agent
Start the OAuth app authorization flow for client {client_id} redirecting to {redirect_uri}.
Request authorization for client {client_id} with code challenge {code_challenge} and scope {scope}.
POST /v1/oauth2/register Register an OAuth client dynamically · Dynamic Client Registration #
Ask an LLM
“How do I register a new OAuth client through dynamic client registration?”
“Can I set redirect URIs and a logo when registering an OAuth client?”
Tell an agent
Register an OAuth client named {client_name} with redirect URIs {redirect_uris}.
Create a dynamic OAuth client {client_name} with logo {logo_uri}.
POST /v1/oauth2/token/create Exchange an authorization code for tokens · OAuth2 Token Endpoint (OAuth app PKCE) #
Ask an LLM
“How do I exchange an authorization code for access and refresh tokens?”
“Can I refresh an OAuth token with a refresh token grant?”
Tell an agent
Exchange the authorization code for access and refresh tokens.
Create OAuth2 tokens using the authorization code grant.
POST /v1/oauth2/token/refresh Refresh an OAuth token (deprecated) · Refresh Token (Deprecated) #
Ask an LLM
“Is there a deprecated endpoint that refreshes an OAuth token with a refresh token?”
“What happens to old tokens when I refresh an OAuth token on the deprecated endpoint?”
Tell an agent destructive · confirm first
Refresh the OAuth token {refresh_token} for client {client_id} using the deprecated endpoint.
Get new access and refresh tokens on the deprecated refresh endpoint.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spendesk:spendesk-authentication-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spendesk-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spendesk Public Authentication API
  description: Spendesk Public API
  version: '1.0'
  summary: Spendesk Public API
  contact:
    email: support-public-api@spendesk.com
    url: https://developer.spendesk.com/
    name: Spendesk for Developers
  termsOfService: https://www.spendesk.com/en/legals/terms/api-agreement
servers:
- url: https://public-api.spendesk.com
  description: Production
- url: https://public-api.demo.spendesk.com
  description: Sandbox
tags:


# --- truncated at 32 KB (56 KB total) ---
# Full source: https://artifacts.apis.io/spendesk/openapi/spendesk-authentication-api-openapi.yml