# Complete API endpoint (/api--endpoint)

/api--endpoint is a Claude Code skill in the Code section. Generates an API endpoint with validation, authentication, types and tests, following your project's framework and conventions.

- Web version: https://skills.sgomez.dev/en/s/api--endpoint
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/api/endpoint.md
- Updated 26 Mar 2026

## How to ask for it

- `/api--endpoint create an endpoint to place orders with input validation`
- `/api--endpoint add authentication to this users endpoint`
- `/api--endpoint I need consistent error handling across my API routes`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install api-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*`
- Runs: —
- Network: No
- Destructive: No

## Author's description

Scaffold a complete API endpoint with validation, auth, and error handling

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
