Get Profile Data by ID
Retrieves a specific profile record by its unique identifier. This endpoint allows you to access complete record data including all specified fields.
- HTTP Method: GET
- Availability: Data Cloud v1.0, Salesforce v51.0
- format: REST
- URI:
/api/v1/profile/{dataModelName}/{Id}
| Parameter | Type | Description |
|---|---|---|
| dataModelName | string | Required. The unique identifier of the data model object. Example: Individual__dlm |
| Id | string | Required. The unique identifier of the record to retrieve. Example: 123 |
| Parameter | Type | Description |
|---|---|---|
| fields | string | Comma-separated list of fields to include in the response. Example: FirstName__c,LastName__c |
| searchkey | string | Field to search by. Example: Email__c |
The response includes:
data: Array of record objects containing the requested datadone: boolean indicating if all results have been returned
- You must explicitly specify fields to retrieve more than 10 fields
- The record ID must be a valid identifier in the data model object
- The response includes only the specified fields
- If no fields are specified, up to 10 fields are returned
- The API supports both primary and secondary key lookups