Salesforce Initialize API

The Initialize API from Salesforce — 3 operation(s) for initialize.

Operations 3

POST /services/auth/headless/init/registration Salesforce Registration - Initialize #
POST /services/auth/headless/forgot_password Salesforce Forgot Password - Initialize #
POST /services/auth/headless/init/passwordless/login Salesforce Passwordless Login - Initialize #

Documentation

Specifications

Schemas & Data

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-initialize-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

salesforce-initialize-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salesforce Initialize 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:
- name: Initialize
paths:
  /services/auth/headless/init/registration:
    parameters: []
    post:
      tags:
      - Initialize
      summary: Salesforce Registration - Initialize
      description: 'Submits the registration data to the init/registration endpoint and returns a request identifier. At the same time, an OTP is sent out to the end users via email or sms. Registration data is passed in the request body, and is formatted with JSON, with 5 keys: `userdata`, `customdata`, `password`, `recaptcha`, and `verificationmethod`. The first two keys are JSON structures, and the last 3 keys are strings.


        This request returns JSON, and includes an identifier (request identifier).'
      operationId: Registration-Initialize
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Registration-InitializeRequest'
              - examples:
                - userdata:
                    firstName: userFirstName
                    lastName: userLastName
                    email: <email>
                    username: <username>
                  customdata:
                    mobilePhone: '+12035408967'
                    streetAddress: 12 N Lands End Rd
                    city: Lantana
                    state: Florida
                    zip: '20537'
                    privacyPolicy: true
                  password: Test123!
                  recaptcha: <recaptcha-token>
                  verificationmethod: email
              contentMediaType: application/json
            example:
              userdata:
                firstName: userFirstName
                lastName: userLastName
                email: <email>
                username: <username>
              customdata:
                mobilePhone: '+12035408967'
                streetAddress: 12 N Lands End Rd
                city: Lantana
                state: Florida
                zip: '20537'
                privacyPolicy: true
              password: Test123!
              recaptcha: <recaptcha-token>
              verificationmethod: email
        required: true
      responses:
        '200':
          description: ''
          headers: {}
      deprecated: false
      security: []
      servers:
      - url: https://login.salesforce.com
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /services/auth/headless/forgot_password:
    parameters: []
    post:
      tags:
      - Initialize
      summary: Salesforce Forgot Password - Initialize
      operationId: ForgotPassword-Initialize
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ForgotPassword-InitializeRequest'
              - examples:
                - username: <username>
                  recaptcha: <recaptcha token>
              contentMediaType: application/json
            example:
              username: <username>
              recaptcha: <recaptcha token>
        required: true
      responses:
        '200':
          description: ''
          headers: {}
      deprecated: false
      security: []
      servers:
      - url: https://login.salesforce.com
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /services/auth/headless/init/passwordless/login:
    parameters: []
    post:
      tags:
      - Initialize
      summary: Salesforce Passwordless Login - Initialize
      description: 'Submits the passwordless login data to the init/passwordless/login endpoint and returns a request identifier. At the same time, an OTP is sent out to the end users via email or sms. Passwordless login data is passed in the request body, and is formatted with JSON, with 3 keys: `username`, `recaptcha`, and `verificationmethod`. All 3 keys are strings.


        This request returns JSON, and includes an identifier (request identifier).'
      operationId: PasswordlessLogin-Initialize
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PasswordlessLogin-InitializeRequest'
              - examples:
                - username: <username>
                  recaptcha: <recaptcha-token>
                  verificationmethod: email or sms
              contentMediaType: application/json
            example:
              username: <username>
              recaptcha: <recaptcha-token>
              verificationmethod: email or sms
        required: true
      responses:
        '200':
          description: ''
          headers: {}
      deprecated: false
      security: []
      servers:
      - url: https://login.salesforce.com
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Userdata:
      title: Userdata
      required:
      - firstName
      - lastName
      - email
      - username
      type: object
      properties:
        firstName:
          type: string
          example: example_value
        lastName:
          type: string
          example: example_value
        email:
          type: string
          example: user@example.com
        username:
          type: string
          example: example_value
      examples:
      - firstName: userFirstName
        lastName: userLastName
        email: <email>
        username: <username>
    Registration-InitializeRequest:
      title: Registration-InitializeRequest
      required:
      - userdata
      - customdata
      - password
      - recaptcha
      - verificationmethod
      type: object
      properties:
        userdata:
          $ref: '#/components/schemas/Userdata'
        customdata:
          $ref: '#/components/schemas/Customdata'
        password:
          type: string
          example: example_value
        recaptcha:
          type: string
          example: example_value
        verificationmethod:
          type: string
          example: example_value
      examples:
      - userdata:
          firstName: userFirstName
          lastName: userLastName
          email: <email>
          username: <username>
        customdata:
          mobilePhone: '+12035408967'
          streetAddress: 12 N Lands End Rd
          city: Lantana
          state: Florida
          zip: '20537'
          privacyPolicy: true
        password: Test123!
        recaptcha: <recaptcha-token>
        verificationmethod: email
    PasswordlessLogin-InitializeRequest:
      title: PasswordlessLogin-InitializeRequest
      required:
      - username
      - recaptcha
      - verificationmethod
      type: object
      properties:
        username:
          type: string
          example: example_value
        recaptcha:
          type: string
          example: example_value
        verificationmethod:
          type: string
          example: example_value
      examples:
      - username: <username>
        recaptcha: <recaptcha-token>
        verificationmethod: email or sms
    Customdata:
      title: Customdata
      required:
      - mobilePhone
      - streetAddress
      - city
      - state
      - zip
      - privacyPolicy
      type: object
      properties:
        mobilePhone:
          type: string
          example: example_value
        streetAddress:
          type: string
          example: example_value
        city:
          type: string
          example: example_value
        state:
          type: string
          example: example_value
        zip:
          type: string
          example: example_value
        privacyPolicy:
          type: boolean
          example: true
      examples:
      - mobilePhone: '+12035408967'
        streetAddress: 12 N Lands End Rd
        city: Lantana
        state: Florida
        zip: '20537'
        privacyPolicy: true
    ForgotPassword-InitializeRequest:
      title: ForgotPassword-InitializeRequest
      required:
      - username
      - recaptcha
      type: object
      properties:
        username:
          type: string
          example: example_value
        recaptcha:
          type: string
          example: example_value
      examples:
      - username: <username>
        recaptcha: <recaptcha token>
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: '{DefaultParameterValue}{DefaultParameterValue}/services/oauth2/authorize'
          scopes:
            api: ''