API Overview¶
Basic Information¶
| Parameter | Value |
|---|---|
| Base URL | https://{instance}.autocrm.cz/api/v1 |
| Format | JSON |
| Encoding | UTF-8 |
| Authentication | Basic Auth / API Key / OAuth 2.0 |
HTTP Methods¶
| Method | Usage | Example |
|---|---|---|
| GET | Read data | GET /Contact/123 |
| POST | Create record | POST /Contact |
| PUT | Update record | PUT /Contact/123 |
| DELETE | Delete record | DELETE /Contact/123 |
Authentication¶
# 1. Get token
curl -X POST "https://instance.autocrm.cz/api/v1/Auth" \
-H "Content-Type: application/json" \
-d '{"grant_type": "client_credentials", "client_id": "...", "client_secret": "..."}'
# 2. Use token
curl -X GET "https://instance.autocrm.cz/api/v1/Contact" \
-H "Authorization: Bearer {access_token}"