# Getting Started with API Endpoints

Welcome to your comprehensive guide to using our API endpoints. This resource is designed to help you understand how to leverage our platform's capabilities to optimize your workflows and services effectively.

## What is an Endpoint?

An *API endpoint* is a designated URL that acts as a communication link between your application and our system. Endpoints allow you to send and receive data to perform specific tasks, such as submitting orders, retrieving catalog details, etc. They serve as building blocks for seamless integration, enabling efficient automation and data exchange.

## **Endpoints Overview**

Below is a summary of the endpoints we provide, highlighting their purpose and usage:

1. **Image Upload**\
   Upload images to attach to orders or include as part of a submission.
   * **Method:** `POST`
   * **URL:** `https://api.aihomedesign.com/v1/order/image`
2. **Submit Order**\
   Submit new orders for processing across supported services.
   * **Method:** `POST`
   * **URL:** `https://api.aihomedesign.com/v1/order`
3. **Get Spaces**\
   Access the list of spaces for each service in the catalog.
   * **Method:** `GET`
   * **URL:** `https://api.aihomedesign.com/v1/catalog/spaces`
4. **Get Widgets and Items (not required for** [**AI Item Removal**](https://doc.aihomedesign.com/api-endpoints/submit-order/ai-item-removal)**):**\
   Access the list of widgets and items available for various services.
   * **Method:** `GET`
   * **URL:** **`https://api.aihomedesign.com/v1/catalog/items/filter`**
5. **Get Order Details**\
   Access comprehensive information about a specific order.
   * **Method:** `GET`
   * **URL:** `https://api.aihomedesign.com/v1/order/{order_id}`


---

# 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://doc.aihomedesign.com/api-endpoints/getting-started-with-api-endpoints.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.
