---
title: "Allows another speech resource (source) to copy a model to this speech resource (target)."
method: POST
path: "/models:authorizecopy"
tags: ["Custom Speech models:"]
---

# Allows another speech resource (source) to copy a model to this speech resource (target).

`POST /models:authorizecopy`

This method can be used to allow copying a model from another speech resource.
Only custom models can be copied from another speech resource.

## Request body

- ModelCopyAuthorizationDefinition
  - `sourceResourceId` string, required — The Azure Resource ID of the source speech resource.

## Response `200`

The response contains information about the entity as payload and its location as header.

- ModelCopyAuthorization
  - `targetResourceRegion` string, required — The region (aka location) of the target speech resource (e.g., westus2).
  - `targetResourceId` string, required — The Azure Resource ID of the target speech resource.
  - `targetResourceEndpoint` string, required — The endpoint (base url) of the target resource (with custom domain name when it is used).
  - `sourceResourceId` string, required — The Azure Resource ID of the source speech resource.
  - `expirationDateTime` string, date-time, required — The expiration date of this copy authorization.
  - `id` string, required — The ID of this copy authorization.

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-speech-speechtotext.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-speech-speechtotext/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-speech-speechtotext/versions/931821089e0d/schema)
