suitecrm
/suitecrm
Zarządza rekordami SuiteCRM przez REST API V8: tworzy, czyta, aktualizuje i usuwa kontakty, leady, szanse i sprawy.
- Autor
- antgroup ↗
- Repozytorium
- agent3sigma-canary ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 10.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 15
- Skrypty
- 4
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 4 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: env_audit/check_environment.sh, env_audit/fix_environment.sh, mock_assets/skill_hooks/00_prepare_suitecrm.sh, scripts/noop.sh
Co robi i kiedy
Zarządza rekordami SuiteCRM przez REST API V8: tworzy, czyta, aktualizuje i usuwa kontakty, leady, szanse i sprawy.
Oryginalny opis (EN)
Manage SuiteCRM records via the V8 REST API. Use for any CRM task: creating, reading, updating, or deleting Contacts, Leads, Accounts, Opportunities, Cases, and other modules. Also use when querying CRM data, managing relationships between records, or looking up customer information.
Jak działa
- Authentication
- Core Operations
- Module Examples
- Relationships
- Filtering & Sorting
- Metadata
- Key Modules
- Field reference
- Notes
Podgląd SKILL.md
---
name: suitecrm
description: "Manage SuiteCRM records via the V8 REST API. Use for any CRM task: creating, reading, updating, or deleting Contacts, Leads, Accounts, Opportunities, Cases, and other modules. Also use when querying CRM data, managing relationships between records, or looking up customer information."
homepage: https://docs.suitecrm.com/developer/api/developer-setup-guide/json-api/
metadata:
{
"openclaw":
{
"emoji": "🏢",
"requires": { "bins": ["jq", "curl"], "env": ["SUITECRM_URL", "SUITECRM_CLIENT_ID", "SUITECRM_CLIENT_SECRET"] },
"primaryEnv": "SUITECRM_CLIENT_ID",
},
}
---
# SuiteCRM
Manage CRM records via the SuiteCRM V8 JSON:API. All operations use `curl` + `jq`.
> **Important**: When piping curl to `jq`, use only simple jq selectors (`.data`, `.attributes`, `.data[]`). Do NOT use `+` for string concatenation in jq — it causes shell quoting errors. Just output `.attributes` and let the user read the fields.
## Authentication
SuiteCRM uses OAuth2. Get a token before making API calls:
```bash
TOKEN=$(curl -s -X POST "$SUITECRM_URL/Api/access_token" \
-d "grant_type=password&client_id=$SUITECRM_CLIENT_ID&client_secret=$SUITECRM_CLIENT_SECRET&username=$SUITECRM_USER&password=$SUITECRM_PASS" \
| jq -r '.access_token')
```
Tokens expire in 1 hour. Re-fetch if you get a 401.
> The token endpoint requires `application/x-www-form-urlencoded` (curl default). Do NOT send JSON to it.
All subsequent requests need:
```bash
-H "Authorization: Bearer $TOKEN" -H "Accept: application/vnd.api+json"
```
## Core Operations
### List records
```bash
curl -s "$SUITECRM_URL/Api/V8/module/{Module}" \
-H "Authorization: Bearer $TOKEN" -H "Accept: application/vnd.api+json" | jq '.data[] | .attributes'
```
With pagination and field selection:
```bash
curl -s "$SUITECRM_URL/Api/V8/module/Contacts?fields[Contacts]=first_name,last_name,email1&page[size]=10&page[number]=1" \
-H "Authorization: Bearer $TOKEN" -H "Accept: application/vnd.api+json" | jq '.data'
```
> **Shell quoting**: When piping to `jq`, keep expressions simple. Avoid `+` string concatenation — use `.attributes` directly and let the full JSON show. For complex jq, write the filter to a temp file first.
### Get a single record
```bash
curl -s "$SUITECRM_URL/Api/V8/module/{Module}/{id}" \
-H "Authorization: Bearer $TOKEN" -H "Accept: application/vnd.api+json" | jq
```
### Create a record
```bash
curl -s -X POST "$SUITECRM_URL/Api/V8/module" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/vnd.api+json" \
-d '{"data":{"type":"{Module}","attributes":{...}}}' | jq
```
### Update a record
```bash
curl -s -X PATCH "$SUITECRM_URL/Api/V8/module" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/vnd.api+json" \
-d '{"data":{"type":"{Module}","id":"{id}","attributes":{...}}}' | jq
```
### Delete a record
```bash
curl -s -X DELETE "$SUITECRM_URL/Api/V8/module/{Module}/{id}" \
-H "Authorization: Bearer $TOKEN" | jq
```
## Module Examples
### Contacts
```bash
# Create
curl -s -X POST "$SUITECRM_URL/Api/V8/module" \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/vnd.api+json" \
-d '{"data":{"type":"Contacts","attributes":{"first_name":"Jane","last_name":"Smith","email1":"jane@example.com","phone_work":"555-0100","title":"CTO","department":"Engineering"}}}' | jq
# Search by last name
curl -s "$SUITECRM_URL/Api/V8/module/Contacts?filter[last_name][eq]=Smith&fields[Contacts]=first_name,last_name,email1,phone_work" \
-H "Authorization: Bearer $TOKEN" -H "Accept: application/vnd.api+json" | jq
```
### Leads
```bash
# Create
curl -s -X POST "$SUITECRM_URL/Api/V8/module" \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/vnd.api+json" \
-d '{"data":{"type":"Leads","attributes":{"first_name":"Bob","last_name":"Jones","email1":"bob@example.com","phone_work":"555-0200","status":"New","lead_source":"Web Site","account_name":"Acme Corp"}}}' | jq
```
### Accounts
```bash
# Create
curl -s -X POST "$SUITECRM_URL/Api/V8/module" \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/vnd.api+json" \
-d '{"data":{"type":"Accounts","attributes":{"name":"Acme Corp","phone_office":"555-0300","industry":"Technology","billing_address_city":"San Francisco","billing_address_state":"CA","billing_address_country":"USA"}}}' | jq
```
### Opportunities
```bash
# Create
curl -s -X POST "$SUITECRM_URL/Api/V8/module" \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/vnd.api+json" \
-d '{"data":{"type":"Opportunities","attributes":{"name":"Q1 Deal","amount":"50000","date_closed":"2026-06-30","sales_stage":"Prospecting","lead_source":"Web Site"}}}' | jq
```
### Cases
```bash
# Create
curl -s -X POST "$SUITECRM_URL/Api/V8/module" \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/vnd.api+json" \
-d '{"data":{"type":"Cases","attributes":{"name":"Login issue","status":"New","priority":"High","type":"User","description":"Customer cannot log in since yesterday"}}}' | jq
```
## Relationships
```bash
# Get contacts linked to an account
curl -s "$SUITECRM_URL/Api/V8/module/Accounts/{id}/relationships/contacts" \
-H "Authorization: Bearer $TOKEN" -H "Accept: application/vnd.api+json" | jq
# Link a contact to an account
curl -s -X POST "$SUITECRM_URL/Api/V8/module/Accounts/{accountId}/relationships" \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/vnd.api+json" \
-d '{"data":{"type":"Contacts","id":"{contactId}"}}' | jq
```
## Filtering & Sorting
```bash
# Filter: accounts in Technology industry
?filter[industry][eq]=Technology
# Filter: opportunities > $10k
?filter[amount][gt]=10000
# Sort by date descending
?sort=-date_entered
# Sort by last name ascending
?sort=last_name
# Combine
?filter[status][eq]=New&sort=-date_entered&page[size]=5
```
Filter operators: `eq`, `neq`, `gt`, `gte`, `lt`, `lte`
## Metadata
```bash
# List all available modules
curl -s "$SUITECRM_URL/Api/V8/meta/modules" \
-H "Authorization: Bearer $TOKEN" -H "Accept: application/vnd.api+json" | jq
# Get field definitions for a module
curl -s "$SUITECRM_URL/Api/V8/meta/fields/{Module}" \
-H "Authorization: Bearer $TOKEN" -H "Accept: application/vnd.api+json" | jq
```
## Key Modules
Contacts, Leads, Accounts, Opportunities, Cases, Calls, Meetings, Tasks, Notes, Emails, Campaigns, Documents, Projects
## Field reference
For detailed field lists per module, read [references/modules.md](references/modules.md).
## Notes
- All IDs are UUIDs
- Module names are PascalCase and plural (Contacts, not contact)
- Create/Update use `POST`/`PATCH` to `/Api/V8/module` (no module name in URL)
- The `type` field in the JSON body must match the module name exactly
- Tokens expire in 1 hour; re-authenticate on 401
- Avoid `!` or other special chars in passwords used for API auth
Pliki w paczce (15)
- MOCK_SKILL_USAGE.md 2 KB
- SKILL.md 7 KB
- agent_eval/README.md 1 KB
- agent_eval/task_suitecrm_usability.md 7 KB
- env_audit/check_environment.sh 2 KB
- env_audit/fix_environment.sh 3 KB
- examples/README.md 2 KB
- examples/draft-followup-from-case-note/README.md 4 KB
- examples/flag-stale-accounts/README.md 4 KB
- examples/summarize-account-activity/README.md 4 KB
- mock_assets/api_handlers/api_crm_rivermarksystems_com.json 7 KB
- mock_assets/reference/modules.md 7 KB
- mock_assets/skill_hooks/00_prepare_suitecrm.sh 2 KB
- references/modules.md 7 KB
- scripts/noop.sh 1 KB
Wersje
W bazie nie ma innych skilli o nazwie suitecrm.
Migawka bazy z 13.11.2026 · wersja paczki f316ae8ffece (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 91zoho-crm
Integruje się z API Zoho CRM przez zarządzany OAuth: odczytuje, tworzy, aktualizuje i usuwa leady, kontakty, konta i transakcje. - 91zoho-crm
Integruje się z API Zoho CRM przez OAuth: zarządza leadami, kontaktami, kontami, szansami i innymi rekordami, przeszukuje kontakty i obsługuje lejki sprzedaży. - 100int-evo-crm
Odpytuje i zarządza danymi Evo AI CRM przez REST API: kontakty, rozmowy, wiadomości, skrzynki, pipeline'y z etapami i pozycjami oraz etykiety, z filtrowaniem, paginacją i tworzeniem lub usuwaniem zasobów. - 100microsoft-dynamics
Integruje Microsoft Dynamics CRM przez ujednolicone API CRM Apideck: kontakty, firmy, leady, szanse sprzedaży, aktywności i lejki. - 90working-in-flito
Pracuje w CRM Flito przez narzędzia Flito: klienci, firmy, kontakty, szanse sprzedaży, oferty, faktury i zadania. - 100hubspot
Integruje HubSpot przez ujednolicone API CRM Apideck, odczytując, zapisując i wyszukując kontakty, firmy, leady, szanse i pipeline'y.