Companies API
Manage company profiles, search, and verification.Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /companies | List companies |
| GET | /companies/search | Full-text search |
| GET | /companies/{slug} | Get by slug |
| GET | /companies/{id} | Get by ID |
| POST | /companies | Create company |
| PATCH | /companies/{id} | Update company |
| DELETE | /companies/{id} | Delete company |
| POST | /companies/check-domain | Check domain availability |
List Companies
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| page | int | Page number (default: 1) |
| limit | int | Items per page (default: 20) |
| category | string | Filter by category |
| city | string | Filter by city |
| verified | bool | Filter verified only |
Response
Search Companies
Full-text search using PostgreSQL tsvector.Query Parameters
| Parameter | Type | Description |
|---|---|---|
| q | string | Search query |
| page | int | Page number |
| limit | int | Items per page |