# Auto provisioning SSL certs with new Experience domain slugs via Losant REST API?

**URL:** <https://forums.losant.com/t/auto-provisioning-ssl-certs-with-new-experience-domain-slugs-via-losant-rest-api/3362>\
**Category:** Help\
**Tags:** experience, ssl\
**Created:** [October 26, 2020, 10:43pm UTC](https://forums.losant.com/t/auto-provisioning-ssl-certs-with-new-experience-domain-slugs-via-losant-rest-api/3362 "2020-10-26T22:43:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Leckie1](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/andrew_leckie1/32/3319_2.png) [@Andrew\_Leckie1](https://forums.losant.com/u/Andrew_Leckie1)\
**Post date:** [October 26, 2020, 10:43pm UTC](https://forums.losant.com/t/auto-provisioning-ssl-certs-with-new-experience-domain-slugs-via-losant-rest-api/3362/1 "2020-10-26T22:43:36Z")

</div>

Hello,  
we’ve checked the Losant Experience REST API doc’s for creating a new Experience domain slug via that mechanism, but there doesn’t appear to be any way to programmatically add the custom domain (FQDN) SSL cert’s Key or SSL Certificate values via the same API. What is the supported programmatic method for securely doing this?

> **[Experience Domains And Experience Slugs](https://docs.losant.com/experiences/domains/)**
>
> Learn more about creating and using experience domains and slugs in the Losant platform.

  

> **[Experience Slug Actions](https://docs.losant.com/rest-api/experience-slug/)**
>
> A detailed look at the various REST actions supported by the Experience Slug resource of the Losant API. Learn more.

  
[https://docs.losant.com/rest-api/schemas/#experience-slug-patch](https://docs.losant.com/rest-api/schemas/#experience-slug-patch)

Regards,  
Andrew.

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [October 27, 2020, 2:58pm UTC](https://forums.losant.com/t/auto-provisioning-ssl-certs-with-new-experience-domain-slugs-via-losant-rest-api/3362/5 "2020-10-27T14:58:23Z")

</div>

Hey @Andrew_Leckie1,

Because custom slugs are custom prefixes to `onlosant.com`, there’s no need to provision an SSL cert for them since we do that for you.

Domains are anything you want them to be! With the [Experience Domains POST](https://docs.losant.com/rest-api/experience-domains/#post), you can provide the SSL cert details through the API.

Let me know if this is what you were looking for or if I can help you further.

Thank you,  
Heath

---

<div class="post-metadata">

**Author:** ![Andrew\_Leckie1](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/andrew_leckie1/32/3319_2.png) [@Andrew\_Leckie1](https://forums.losant.com/u/Andrew_Leckie1)\
**Post date:** [October 27, 2020, 10:44pm UTC](https://forums.losant.com/t/auto-provisioning-ssl-certs-with-new-experience-domain-slugs-via-losant-rest-api/3362/8 "2020-10-27T22:44:48Z")

</div>

Thanks @Heath - I meant ‘Domains’, not ‘Slugs’ in hindsight, but you’ve answered my question thanks. One thing about POSTing SSL Key values though - any 3rd party IT Security service will ask how these are kept secure within the hoster’s platform - does Losant have any ‘stock info’ on how you do this?
