Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Service
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Sample Request and Response for Access Token

          Sample Request and Response for Access Token

          This sample request lets you obtain the access token and uses client_credentials as the grant_type for org authentication.

          Sample Request

          curl --location 'https://org_domain/services/oauth2/token' \
          --header 'Content-Type: application/x-www-form-urlencoded' \
          --data-urlencode 'grant_type=client_credentials' \
          --data-urlencode 'client_id=client-key' \
          --data-urlencode 'client_secret=client-secret'
          

          Sample Response

          {
              "access_token": "your_access_token",
              "signature": "your_signature",
              "scope": "cdp_query_api cdp_ingest_api api cdp_profile_api",
              "instance_url": "instance_url",
              "id": "https://org_domain/id/00fdg000000dfgfgs/00gfd000000fsdghjr",
              "token_type": "Bearer",
              "issued_at": "4564564565767"
          }
           
          Loading
          Salesforce Help | Article