# Is there an API to upload my own certificate for website?

**URL:** <https://answers.netlify.com/t/is-there-an-api-to-upload-my-own-certificate-for-website/107552>\
**Category:** Support\
**Tags:** netlify-dns-https-ssl, deployment\
**Created:** [November 28, 2023, 10:02am UTC](https://answers.netlify.com/t/is-there-an-api-to-upload-my-own-certificate-for-website/107552 "2023-11-28T10:02:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yangzhaofeng](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/yangzhaofeng/32/51401_2.png) [@yangzhaofeng](https://answers.netlify.com/u/yangzhaofeng)\
**Post date:** [November 28, 2023, 10:02am UTC](https://answers.netlify.com/t/is-there-an-api-to-upload-my-own-certificate-for-website/107552/1 "2023-11-28T10:02:13Z")

</div>

I can upload my own certificate for my website in domain management page. However, I cannot find an API to do that. Is there a such API?

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [November 29, 2023, 7:50pm UTC](https://answers.netlify.com/t/is-there-an-api-to-upload-my-own-certificate-for-website/107552/2 "2023-11-29T19:50:24Z")

</div>

Hi, @yangzhaofeng. Yes, there is an API endpoint to update SSL certificates for sites. There is some information about the endpoint here:

[https://open-api.netlify.com/#tag/sniCertificate/operation/provisionSiteTLSCertificate](https://open-api.netlify.com/#tag/sniCertificate/operation/provisionSiteTLSCertificate)

This support guide about reverse engineering our API might also be helpful:

> [@\[Support Guide\] Understanding and using Netlify's API](https://answers.netlify.com/t/support-guide-understanding-and-using-netlifys-api/160):
>
> Last reviewed by Netlify Support staff: August 2023 Did you know that Netlify has an [extensive public API](https://open-api.netlify.com/)? Anything that you configure in our Admin UI at [https://app.netlify.com](https://app.netlify.com) is managed using this same API, and you’re welcome to use it to create and configure your site(s) and perform most other operations on your account. We have an article on [API Usage in our official documentation](https://docs.netlify.com/api/get-started/) which shows how to do some common tasks like deploying your site and configuring it in great detail. It also …

​Please let us know if there are other questions.
