---
title: Create an end user license agreement
framework: appstoreconnectapi
role: symbol
role_heading: Web Service Endpoint
path: appstoreconnectapi/post-v1-enduserlicenseagreements
---

# Create an end user license agreement

Add a custom end user license agreement (EULA) to an app and configure the territories to which it applies.

## URL

POST https://api.appstoreconnect.apple.com/v1/endUserLicenseAgreements

## Response Codes

201 Created: 400 Bad Request: An error occurred with your request. 401 Unauthorized: 403 Forbidden: Request not authorized. 409 Conflict: The provided resource data is not valid. 422 : 429 :

## Discussion

Discussion Use this endpoint to associate a custom license agreement with an app in the specified App Store territories. Any other territories will use the standard Apple-provided license agreement. In the following example the request contains a blank value for the agreementText attribute. Replace that attribute value with your actual agreement text. Create a Custom License Agreement for USA and China

## See Also

### Creating, Modifying, and Deleting an EULA

- [Modify an end user license agreement](appstoreconnectapi/patch-v1-enduserlicenseagreements-_id_.md)
- [Delete an end user license agreement](appstoreconnectapi/delete-v1-enduserlicenseagreements-_id_.md)
