# Get Message Template

> API endpoint that returns a single message template by its template ID, using the PM.MessageTemplate scope.

Returns a message template, based on the template ID.

## API Endpoint

`GET` `{accessURL}/{organizationName}/identity_/api/MessageTemplate/{templateId}`

Replace `{accessURL}` in all endpoint paths with the base URL for your cloud platform:

| Cloud platform | Access URL |
| --- | --- |
| Automation Cloud | `https://cloud.uipath.com/` |
| Automation Cloud Public Sector | `https://govcloud.uipath.us/` |
| Automation Cloud Dedicated | `https://{customURL}.dedicated.uipath.com/` |

## Scopes

Requires the following scopes:

* PM.MessageTemplate
* PM.MessageTemplate.Read

## Request Headers

```
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
```

## Path Parameters

| Path param | Data type | Description |
| --- | --- | --- |
| `templateId`  (required) | String | The ID of message template you want to retrieve. |

## Responses

### 200 OK

Returns the message template information, such as message ID, the message title, and the content.

```
{
  "id": 0,
  "name": "string",
  "value": "string"
}
```
