Entegrasyon Listesi
Tüm entegrasyonları listeler.
Endpoint
GET /api/v1/integrations
Authentication
Bu endpoint authentication gerektirir.
Header: Authorization: Bearer \{token\}
Permission
integrations.view- Tüm entegrasyonları görüntülemeintegrations.view.own- Sadece kendi entegrasyonlarını görüntüleme
Request
Headers
| Header | Değer | Zorunlu |
|---|---|---|
Authorization | Bearer \{token\} | Evet |
Query Parameters
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
search | string | Hayır | Genel arama (name, UUID, provider) |
type | string | Hayır | Entegrasyon tipi (webhook, oauth, api) |
provider | string | Hayır | Sağlayıcı adı |
status | string | Hayır | Durum (active, inactive, error, pending) |
is_active | boolean | Hayır | Aktif/pasif filtresi |
with_trashed | boolean | Hayır | Silinen entegrasyonları da dahil et |
page | integer | Hayır | Sayfa numarası (varsayılan: 1) |
per_page | integer | Hayır | Sayfa başına kayıt (varsayılan: 15, max: 100) |
Response
Success Response (200 OK)
{
"data": [
{
"id": 1,
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Stripe Webhook",
"type": "webhook",
"provider": "stripe",
"description": "Stripe ödeme webhook entegrasyonu",
"status": "active",
"is_active": true,
"user_id": 1,
"user": {
"id": 1,
"email": "user@example.com"
},
"created_at": "2025-11-20T12:00:00.000000Z"
}
],
"current_page": 1,
"per_page": 15,
"total": 1,
"last_page": 1
}
Code Examples
cURL
curl -X GET https://api.example.com/api/v1/integrations \
-H "Authorization: Bearer \{token\}"
Filtreleme Örnekleri
# Belirli bir tip için
curl -X GET "https://api.example.com/api/v1/integrations?type=webhook" \
-H "Authorization: Bearer \{token\}"
# Belirli bir sağlayıcı için
curl -X GET "https://api.example.com/api/v1/integrations?provider=stripe" \
-H "Authorization: Bearer \{token\}"
# Aktif entegrasyonlar için
curl -X GET "https://api.example.com/api/v1/integrations?status=active" \
-H "Authorization: Bearer \{token\}"
Notes
- Varsayılan olarak sadece aktif entegrasyonlar döner
.ownpermission'ı olan kullanıcılar sadece kendi entegrasyonlarını görür- Entegrasyonlar en yeni tarih sırasına göre döner (
latest()) - Entegrasyonlar kullanıcı bilgileri ile birlikte döner
Related Endpoints
- Entegrasyon Oluştur - Yeni entegrasyon oluştur
- Entegrasyon Detayı - Entegrasyon detayını getir