---
schema_version: "1"
id: 91277b7e9dc95dcde951704353a642adf5f4973a376c5b42c0f40a2353b42f55
title: Sample Request and Response for Access Token
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/conversation_transcript_api_sample1.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.conversation_transcript_api_sample1.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ee2bd7c34e54aa5093a78593b27fc468476701c15202b987b6f2ece753f33435
description: This sample request lets you obtain the access token and uses client_credentials as the grant_type for org authentication.
products:
  - Service Cloud
release: "264"
---
# 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"
}
```