# API Documentation

The PartsSource APIs follow RESTful design principles with resource-oriented URLs, JSON request/response bodies, and standard HTTP methods.

## Quick Links

| Section                                                                            | Description                     |
| ---------------------------------------------------------------------------------- | ------------------------------- |
| [Getting Started](/documentation/getting-started/making-your-first-api-request.md) | Make your first API request     |
| [Authentication](/documentation/authentication/overview.md)                        | OAuth 2.0 authentication flow   |
| [Core Concepts](/documentation/core-concepts/error-handling.md)                    | Idempotency, pagination, errors |

***

## Getting Started

New to the PartsSource APIs? Start here:

1. [**Request API credentials**](/documentation/authentication/requesting-oauth-2.0-client.md) - Get your client ID and secret
2. [**Authenticate**](/documentation/authentication/overview.md) - Obtain an access token
3. [**Make your first request**](/documentation/getting-started/making-your-first-api-request.md) - Call an endpoint

***

## Core Concepts

Before building your integration, understand these fundamentals:

* [**Error Handling**](/documentation/core-concepts/error-handling.md) - Response formats and status codes
* [**Idempotency**](/documentation/core-concepts/idempotency.md) - Prevent duplicate operations
* [**Pagination**](/documentation/core-concepts/pagination.md) - Navigate large result sets
* [**Rate Limiting**](/documentation/core-concepts/rate-limiting.md) - Stay within API limits
* [**Correlation IDs**](/documentation/core-concepts/correlation-ids.md) - Debug requests with support

***

## Need Help?

* [**Troubleshooting**](/documentation/resources/troubleshooting.md) - Common issues and solutions
* [**Status Codes**](/documentation/resources/http-status-error-codes.md) - HTTP error reference
* **Support:** <api-support@partssource.com> (include the `correlationId` from your request)


---

# 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://docs.partssource.com/documentation/readme.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.
