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

# Create Custom User Greeting

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

Creates custom greeting for an extension user.

## Path parameters

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

## Query parameters

- `apply` boolean

## 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

- `400` — General response with **HTTP 400 "Bad request"** status.<br> Reasons: unparsable request, path, query or body parameters are invalid. The error description may contain reference to particular parameter(s) which haven't passed the validation.
- `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.net/ringcentral/apis/ringcentral-api.md) · [All operations](https://skmtc.net/ringcentral/apis/ringcentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ringcentral/ringcentral-api/versions/8d602198ec97/schema)
