---
title: "Get Custom Greeting"
method: GET
path: "/restapi/v1.0/account/{accountId}/extension/{extensionId}/greeting/{greetingId}"
tags: ["Greetings"]
---

# Get Custom Greeting

`GET /restapi/v1.0/account/{accountId}/extension/{extensionId}/greeting/{greetingId}`

## Request

- Base URL: `https://platform.ringcentral.com`
- URL: `https://platform.ringcentral.com/restapi/v1.0/account/{accountId}/extension/{extensionId}/greeting/{greetingId}`
- Auth: OAuth 2
  - Authorization code: `https://platform.ringcentral.com/restapi/oauth/authorize`
  - Token URL: `https://platform.ringcentral.com/restapi/oauth/token`
- TypeScript: <https://skmtc.dev/ringcentral/apis/ringcentral-api/docs/restapi/v1.0/account/:accountId/extension/:extensionId/greeting/:greetingId/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a custom user greeting by ID.

## Path parameters

- `accountId` string, required
- `extensionId` string, required
- `greetingId` string, required

## Response `200`

OK

- CustomUserGreetingInfo
  - `uri` string, uri: Link to a custom user greeting
  - `id` string: Internal identifier of a custom user greeting
  - `type` 'Introductory' | 'Announcement' | 'InterruptPrompt' | 'ConnectingAudio' | 'ConnectingMessage' | 'Voicemail' | 'Unavailable' | 'HoldMusic' | 'PronouncedName' | 'TemplateGreeting': Type of custom user greeting
  - `contentType` 'audio/mpeg' | 'audio/wav': Content media type
  - `contentUri` string, uri: Link to a greeting content (audio file)
  - `answeringRule` CustomGreetingAnsweringRuleInfo: Information on an answering rule that the greeting is applied to
    - `uri` string, uri: Canonical URI of an answering rule
    - `id` string: Internal identifier of an answering rule

## Other responses

- `404`: General response with **HTTP 404 "Not found"** status.<br> Reasons: the entity with given ID (typically specified in a path parameter), is not found or inaccessible
- `500`: General response with **HTTP 500 "Internal Server Error"** status.<br> Reasons: general server-side error.
- `503`: General response with **HTTP 503 "Service not available"** status.<br> Reasons: server cannot process the request because of being overloaded, misconfiguration or other issues.

---

[API](https://skmtc.dev/ringcentral/apis/ringcentral-api.md) - [All operations](https://skmtc.dev/ringcentral/apis/ringcentral-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ringcentral/apis/ringcentral-api/revisions/8d602198ec97?raw)
