# Services

This API offers functionalities to:

* C**reating new services:** Establish new service entries, defining their names, descriptions, pricing structures, and associating them with relevant categories.
* **Accessing service information:** Retrieve details of all available services or a specific service by its unique identifier.
* **Updating service details:** Modify existing services to keep information accurate and reflect any changes. This might involve updating names, descriptions, pricing, or category associations.
* **Removing services:** Permanently delete services that are no longer offered, ensuring a clean and up-to-date service catalogue.

{% openapi src="/files/XKbqmYpLbwmHfH7drtj3" path="/v1/services" method="get" %}
[Whautomate -Your Host.json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FmvrcLbjRCcKuOC0Vzyor%2FWhautomate%20-Your%20Host.json?alt=media\&token=e36abed1-908d-45ba-830f-519a3f5dabff)
{% endopenapi %}

{% openapi src="/files/XKbqmYpLbwmHfH7drtj3" path="/v1/services" method="post" %}
[Whautomate -Your Host.json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FmvrcLbjRCcKuOC0Vzyor%2FWhautomate%20-Your%20Host.json?alt=media\&token=e36abed1-908d-45ba-830f-519a3f5dabff)
{% endopenapi %}

{% openapi src="/files/XKbqmYpLbwmHfH7drtj3" path="/v1/services/{serviceId}" method="get" %}
[Whautomate -Your Host.json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FmvrcLbjRCcKuOC0Vzyor%2FWhautomate%20-Your%20Host.json?alt=media\&token=e36abed1-908d-45ba-830f-519a3f5dabff)
{% endopenapi %}

{% openapi src="/files/XKbqmYpLbwmHfH7drtj3" path="/v1/services/{serviceId}" method="put" %}
[Whautomate -Your Host.json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FmvrcLbjRCcKuOC0Vzyor%2FWhautomate%20-Your%20Host.json?alt=media\&token=e36abed1-908d-45ba-830f-519a3f5dabff)
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.whautomate.com/product-guides/whautomate-rest-api/services.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
