# Private APIs

### Create and Edit customers

{% openapi src="<https://exp.cloud4wi.com/product/apis/cloud4wi-post-put-customers-v2.yaml>" path="/v3/customers" method="post" %}
<https://exp.cloud4wi.com/product/apis/cloud4wi-post-put-customers-v2.yaml>
{% endopenapi %}

{% openapi src="<https://exp.cloud4wi.com/product/apis/cloud4wi-post-put-customers-v2.yaml>" path="/v3/customers/{cid}" method="put" %}
<https://exp.cloud4wi.com/product/apis/cloud4wi-post-put-customers-v2.yaml>
{% endopenapi %}

### Token-based customer authentication

Retrieve a temporary authentication token for a customer.&#x20;

This can be used, for example, to access the Passpoint Download page for a specific customer by redirecting the user to

```
https://osu.cloud4wi.com/activate/[customerToken]
```

{% openapi src="<https://exp.cloud4wi.com/product/apis/cloud4wi-post-put-customers-v2.yaml>" path="/v2/customers/tokens/{token}" method="get" %}
<https://exp.cloud4wi.com/product/apis/cloud4wi-post-put-customers-v2.yaml>
{% endopenapi %}

{% openapi src="<https://exp.cloud4wi.com/product/apis/cloud4wi-post-put-customers-v2.yaml>" path="/v2/customers/{cid}/token" method="get" %}
<https://exp.cloud4wi.com/product/apis/cloud4wi-post-put-customers-v2.yaml>
{% endopenapi %}
