---
title: "GET /templates/{TemplateId}"
method: GET
path: "/templates/{TemplateId}"
---

# GET /templates/{TemplateId}

`GET /templates/{TemplateId}`

Returns the template information for a specific object type.

A template is a predefined ProfileObjectType, such as “Salesforce-Account” or “Salesforce-Contact.” When a user sends a ProfileObject, using the PutProfileObject API, with an ObjectTypeName that matches one of the TemplateIds, it uses the mappings from the template.

## Path parameters

- `TemplateId` string, required

## Response `200`

Success

- GetProfileObjectTypeTemplateResponse
  - `TemplateId` string — A unique identifier for the object template.
  - `SourceName` string — The name of the source of the object template.
  - `SourceObject` string — The source of the object template.
  - `AllowProfileCreation` boolean — Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is <code>FALSE</code>. If the AllowProfileCreation flag is set to <code>FALSE</code>, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to <code>TRUE</code>, and if no match is found, then the service creates a new standard profile.
  - `SourceLastUpdatedTimestampFormat` string — The format of your <code>sourceLastUpdatedTimestamp</code> that was previously set up.
  - `Fields` object — A map of the name and ObjectType field.
  - `Keys` object — A list of unique keys that can be used to map data to the profile.

## Other responses

- `480` — BadRequestException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ThrottlingException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/customer-profiles.md) · [All operations](https://skmtc.net/aws/apis/customer-profiles/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/customer-profiles/versions/471944106c88/schema)
