Salesforce · Capability

Salesforce — Registration

Salesforce — Registration. 4 operations. Lead operation: Salesforce Registration - Initialize. Self-contained Naftiko capability covering one Salesforce business surface.

Run with Naftiko SalesforceRegistration

What You Can Do

POST
Registrationinitialize — Salesforce Registration - Initialize
/v1/services/auth/headless/init/registration
POST
Registrationauthorize — Salesforce Registration - Authorize
/v1/services/oauth2/authorize
POST
Openidconnectdynamicclientregistrationendpoint — Salesforce Openid Connect Dynamic Client Registration Endpoint
/v1/services/oauth2/register
POST
Registrationtokenexchange — Salesforce Registration - Token Exchange
/v1/services/oauth2/token

MCP Tools

salesforce-registration-initialize

Salesforce Registration - Initialize

salesforce-registration-authorize

Salesforce Registration - Authorize

salesforce-openid-connect-dynamic-client

Salesforce Openid Connect Dynamic Client Registration Endpoint

salesforce-registration-token-exchange

Salesforce Registration - Token Exchange

Capability Spec

salesforce-registration.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce — Registration
  description: 'Salesforce — Registration. 4 operations. Lead operation: Salesforce Registration - Initialize. Self-contained
    Naftiko capability covering one Salesforce business surface.'
  tags:
  - Salesforce
  - Registration
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_API_KEY: SALESFORCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesforce-registration
    baseUri: https://login.salesforce.com
    description: Salesforce — Registration business capability. Self-contained, no shared references.
    resources:
    - name: services-auth-headless-init-registration
      path: /services/auth/headless/init/registration
      operations:
      - name: registrationinitialize
        method: POST
        description: Salesforce Registration - Initialize
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: services-oauth2-authorize
      path: /services/oauth2/authorize
      operations:
      - name: registrationauthorize
        method: POST
        description: Salesforce Registration - Authorize
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Auth-Request-Type
          in: header
          type: string
          description: Required for User Registration
          required: true
        - name: Auth-Verification-Type
          in: header
          type: string
          description: Must match init/registration, email or sms
          required: true
        - name: Authorization
          in: header
          type: string
          description: Base64 encoded <Identifier:OTP>
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: services-oauth2-register
      path: /services/oauth2/register
      operations:
      - name: openidconnectdynamicclientregistrationendpoint
        method: POST
        description: Salesforce Openid Connect Dynamic Client Registration Endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Accept
          in: header
          type: string
          required: true
        - name: Authorization
          in: header
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: services-oauth2-token
      path: /services/oauth2/token
      operations:
      - name: registrationtokenexchange
        method: POST
        description: Salesforce Registration - Token Exchange
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesforce-registration-rest
    port: 8080
    description: REST adapter for Salesforce — Registration. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/services/auth/headless/init/registration
      name: services-auth-headless-init-registration
      description: REST surface for services-auth-headless-init-registration.
      operations:
      - method: POST
        name: registrationinitialize
        description: Salesforce Registration - Initialize
        call: salesforce-registration.registrationinitialize
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/oauth2/authorize
      name: services-oauth2-authorize
      description: REST surface for services-oauth2-authorize.
      operations:
      - method: POST
        name: registrationauthorize
        description: Salesforce Registration - Authorize
        call: salesforce-registration.registrationauthorize
        with:
          Auth-Request-Type: rest.Auth-Request-Type
          Auth-Verification-Type: rest.Auth-Verification-Type
          Authorization: rest.Authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/oauth2/register
      name: services-oauth2-register
      description: REST surface for services-oauth2-register.
      operations:
      - method: POST
        name: openidconnectdynamicclientregistrationendpoint
        description: Salesforce Openid Connect Dynamic Client Registration Endpoint
        call: salesforce-registration.openidconnectdynamicclientregistrationendpoint
        with:
          Accept: rest.Accept
          Authorization: rest.Authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/oauth2/token
      name: services-oauth2-token
      description: REST surface for services-oauth2-token.
      operations:
      - method: POST
        name: registrationtokenexchange
        description: Salesforce Registration - Token Exchange
        call: salesforce-registration.registrationtokenexchange
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesforce-registration-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce — Registration. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: salesforce-registration-initialize
      description: Salesforce Registration - Initialize
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesforce-registration.registrationinitialize
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-registration-authorize
      description: Salesforce Registration - Authorize
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesforce-registration.registrationauthorize
      with:
        Auth-Request-Type: tools.Auth-Request-Type
        Auth-Verification-Type: tools.Auth-Verification-Type
        Authorization: tools.Authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-openid-connect-dynamic-client
      description: Salesforce Openid Connect Dynamic Client Registration Endpoint
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesforce-registration.openidconnectdynamicclientregistrationendpoint
      with:
        Accept: tools.Accept
        Authorization: tools.Authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-registration-token-exchange
      description: Salesforce Registration - Token Exchange
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesforce-registration.registrationtokenexchange
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.