Salesforce Credentials API

> Use these Connect API endpoints to get credentials for OAuth consumers of an external client app. Collections returns credentials for all consumers associated with an external client app. Resources returns the the key, secret, or both key and secret for a specific consumer.

Business capability
Identity & Access Management BC-620.20

Operations 4

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

GET /data/v64.0/named-credentials/external-credentials List external credentials the user can use · Salesforce List External Credentials #
Ask an LLM
“Which external credentials can I authenticate to?”
“What external credentials are available to the current user?”
Tell an agent
List external credentials I can authenticate to.
Show the external credentials available to me.
GET /data/v64.0/named-credentials/named-credential-setup List named credentials in the org · Salesforce List Named Credentials #
Ask an LLM
“Which named credentials are set up in my org?”
“What callout endpoints are configured as named credentials?”
Tell an agent
List the named credentials set up in the org.
Show all named credential setups via the Connect API.
GET /data/v64.0/named-credentials/external-credentials/{DEVELOPER_NAME} Get an external credential by developer name · Salesforce Get External Credentials by Developer Name #
Ask an LLM
“How do I see the principals and their status for one external credential?”
“Which named credentials use a given external credential?”
Tell an agent
Get external credential {developer_name}.
Show principals and linked named credentials for {developer_name}.
GET /data/v64.0/tooling/query Query named credentials with the Tooling API · Salesforce List Named Credentials #
Ask an LLM
“Can I query NamedCredential records with a Tooling API SOQL query?”
“How do I filter named credentials by endpoint using a tooling query?”
Tell an agent
Run tooling query {soql} against named credentials.
Query NamedCredential records through the Tooling API with {soql}.

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/salesforce:salesforce-credentials-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

salesforce-credentials-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salesforce Credentials API
  description: Find the resources you need to start building.
  contact: {}
  version: '1.0'
servers:
- url: https://login.salesforce.com
  variables: {}
- url: https://id
  variables: {}
- url: https://services
  variables: {}
- url: '{{url}}{{site}}/services/oauth2'
  variables:
    url:
      default: DefaultParameterValue
    site:
      default: DefaultParameterValue
security:
- oauth2:
  - api
tags:


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