Digicust API
Digicust API'si
REST, SFTP, E-posta, MCP ve Webhook'lar. Tüm Digicust entegrasyon modları tek bir yerde. Teknik altyapınıza uygun yöntemi seçin ve gönderiminizi yapın.
İki adımda başlayın
Çoğu entegrasyon bir öğleden sonra içinde canlıya alınır. Kapsamlı API anahtarları oluşturun, istemcinizi AB temel URL'sine yönlendirin ve vaka göndermeye başlayın.
1. Create API keys
Generate scoped, revocable API keys directly in the platform. Use them for server-to-server integrations, ERP feeds or automation scripts.
Open the platform2. Explore the OpenAPI spec
Browse every endpoint in the interactive Swagger UI, or download the full OpenAPI 3.0 specification as JSON or YAML.
Swagger UI'ı açMakineler için API anahtarları, insanlar için oturumlar
Sunucudan sunucuya entegrasyonlar için API anahtarlarını, kullanıcıya yönelik uygulamalar için oturum belirteçlerini kullanın. Her ikisi de aynı uç noktalarda kimlik doğrulaması yapar; Workflow'a ne uyuyorsa onu seçin.
- API anahtarları `dgc_` ön ekine sahiptir, proje bazında kapsamlandırılır ve platform üzerinden iptal edilebilir.
- Oturum belirteçleri web uygulaması, Excel eklentisi ve oturum açmış tüm kullanıcılar için Digicust'ın yerel kimlik doğrulaması tarafından verilir.
- Başlıklar `Authorization: Bearer <key>` veya `X-API-Key: <key>` gönderin. Her ikisi de kabul edilir.
curl -X GET "https://api.eu.digicust.com/api/{orgId}/{projectId}/cases" \
-H "Authorization: Bearer dgc_1234567890abcdef1234567890abcdef"Full REST API with OpenAPI 3.0
Drive every Digicust capability over standard REST. Cases, conversations, strategies, integrations, mappings, MCP servers, API keys, tariff classification and trade-compliance checks are all addressable with the same authentication and shape.
- Authenticate with `Authorization: Bearer dgc_…` API keys or a session token from the Digicust login.
- One-step `cases/create-and-process` accepts files plus metadata in a single multipart request.
- Async `classify-batch` for large catalogues with WebSocket progress events.
- Polling and webhook patterns documented with copy-paste JS and Python examples.
- Full OpenAPI spec downloadable as JSON or YAML.
Digicust API
v3.0.0 · OpenAPI 3.0 · api.eu.digicust.com
- POST
/{orgId}/{projectId}/cases/create-and-processİstek gövdesi (multipart)
filesFile[]caseDataJSONstrategyIdstringmessagestring
Yanıtlar
- 200Vaka oluşturuldu ve işleme başlandı
- 401Eksik veya geçersiz API anahtarı
- 429Hız sınırı aşıldı
cURLmultipart/form-datacurl -X POST "https://api.eu.digicust.com/api/{orgId}/{projectId}/cases/create-and-process" \ -H "Authorization: Bearer dgc_your-api-key" \ -F "files=@invoice.pdf" \ -F 'caseData={"reference":"CASE-2026-001"}' - GET
/{orgId}/{projectId}/cases/{caseId} - POST
/{orgId}/{projectId}/classify-batch - POST
/{orgId}/{projectId}/trade-compliance/check - POST
/{orgId}/{projectId}/integrations - GET
/organizations/{orgId}/projects/{projectId}/api-keys
SFTP for legacy file flows
When an ERP, customs broker or partner can only speak files, Digicust drops processed cases on SFTP and picks up new ones from a watched folder. Same pipelines, same audit trail, no new schema for them to learn.
- Outbound: push processed declarations, structured payloads or PDF outputs to your SFTP server.
- Pre-built SFTP profiles for Scope, DAKOSY, E2OPEN, MERCURIO and DBH.
- Inbound: drop documents into a strategy folder; Digicust creates the case automatically.
- Password and key-based authentication with optional passphrase.
- Optional FTP fallback for partners that have not migrated to SFTP.
{
"name": "Export to SFTP",
"type": "SFTP",
"enabled": true,
"config": {
"sftp": {
"host": "sftp.example.com",
"port": 22,
"username": "sftp-user",
"privateKeyBase64": "LS0tLS1CRUdJTi…",
"remotePath": "/exports/customs"
}
}
}Email gateway for documents and follow-ups
Every strategy gets its own ingest email address; every case gets its own follow-up address. Send PDFs, EML, MSG or even photos and Digicust opens the case, parses attachments, classifies the goods and replies in your team's voice.
- Per-strategy ingest address creates new cases automatically.
- Per-case reply address attaches incoming mail to the open case.
- Document control agent can chase suppliers, brokers or carriers in their own language.
- Notifications on processing start, completion and SLA breaches.
- Custom email gateway endpoint for teams that want to relay through their own MTA.
ALPHATEX SRL
09:14Re: Invoice INV-2026-0481 + packing list
Attached the corrected packing list as requested. Please confirm receipt.
packing-list-INV-2026-0481.pdfDemo Components AG
08:42LTSD signed for 2026 catalogue
Bitte bestätigen Sie den Erhalt der unterzeichneten Lieferantenerklärung.
LTSD-2026-DEMO.pdfDAKOSY notifications
08:31ATLAS reference 26DE12345 released
Customs released 4 line items. ABD attached.
ABD-26DE12345.pdfTANGENS Spedition
YesterdayRückfrage zur Sendung 0481
Können Sie die Tarifnummer zu Position 3 noch einmal prüfen?
Re: Invoice INV-2026-0481 + packing list
Merhaba,
INV-2026-0481 numaralı fatura için düzeltilmiş çeki listesi ektedir. 3. kalem için boyutlar istediğiniz gibi güncellenmiştir.
Saygılarımla,
ALPHATEX SRL · logistics desk
1 ek
packing-list-INV-2026-0481.pdf
168 KB · Digicust ajanı tarafından ayrıştırıldı
Model Context Protocol, first-class
Digicust speaks MCP, the open protocol that connects AI agents to external tools. Plug your own MCP server in to extend the Digicust agent with custom tools and data sources, or expose Digicust's customs tools to your own LLM apps.
- SSE, HTTP and stdio transports supported.
- Bring your own auth: bearer token, API key or basic.
- Per-strategy enabling so the agent only sees the tools it should use.
- Available tools surface live during case processing, no redeploy required.
- Use the Digicust MCP server from any LLM app to run customs workflows on demand.
{
"name": "Custom Tools Server",
"transport": "sse",
"url": "https://your-mcp-server.com/sse",
"auth": { "type": "bearer", "token": "your-mcp-token" },
"enabled": true
}Webhooks for outbound events
Get notified the moment a case is processed, a finding is raised or a strategy event fires. Webhooks are configured per-strategy and can be paired with mappings to deliver exactly the payload your system expects.
- POST/PUT/GET/DELETE delivery with custom headers.
- None, Basic, Bearer or Keycloak OAuth2 authentication.
- Pair with a mapping to transform the case into your downstream schema.
- Automatic retries (3 attempts, 60s timeout) with delivery audit log.
- Receive base64-encoded attachments alongside the structured payload.
{
"caseId": "6501234567890abcdef12345",
"reference": "CASE-2026-001",
"timestamp": "2026-01-15T10:35:00Z",
"data": {
"invoiceNumber": "INV-2026-001",
"items": [
{ "description": "Widget A", "hsCode": "8473.30.20", "value": 2550.00 }
]
}
}Zolltarifklassifizierung API'si
Gerekçeleri, alternatifleri ve BTI referansları ile HS kodları
Açık GR1'den GR6'ya kadar gerekçelendirme, güven puanları ve alternatif kodlarla tekli veya toplu (10 adede kadar) sınıflandırma. Tüm kataloglar için WebSocket ilerleme olaylarına sahip asenkron toplu uç noktayı kullanın.
curl -X POST "https://api.eu.digicust.com/api/{orgId}/{projectId}/tools/tariff-classification" \
-H "Authorization: Bearer dgc_your-api-key" \
-H "Content-Type: application/json" \
-d '{ "goodsDescription": "USB-A to USB-C cable, 2m, copper" }'Ticaret uyumluluğu API'si
Yaptırımlar, çift kullanımlı ürünler, ambargolar, CBAM, ABD yeniden ihracatı
Tek bir uç nokta; ürün kontrollerini (ihracat/ithalat kontrolleri, ambargolar, CBAM, ABD yeniden ihracatı) ve küresel yasaklı taraflar listelerinde taraf taramasını yapılandırılmış bir risk puanı ile gerçekleştirir.
curl -X POST "https://api.eu.digicust.com/api/{orgId}/{projectId}/trade-compliance/check" \
-H "Authorization: Bearer dgc_your-api-key" \
-H "Content-Type: application/json" \
-d '{
"itemChecks": [{ "customsTariffNumber": "8456301000", "destinationCountry": "CN" }],
"partyChecks": [{ "name": "Acme Corporation Ltd.", "role": "buyer" }]
}'Üretim için tasarlandı
Global coverage
Submission-ready data for ATLAS, AES, NCTS, ASYCUDA, DAKOSY, AEB, Format, Scope, Mercurio and more across 30+ countries.
Async + sync
Sync endpoints for short-lived calls, async pipelines for batches and long-running classifications, with WebSocket progress events.
Enterprise security
API key plus session-based authentication, scoped keys, instant revocation, audit log on every action, GDPR-aligned EU hosting.
Güvenlik notu: API anahtarlarını istemci tarafındaki kodun dışında tutun, periyodik olarak değiştirin ve sızmış olabilecek anahtarları iptal edin. Bir güvenlik ihlalinden şüpheleniyorsanız destek ekibine ulaşın. Anahtarlar anında iptal edilebilir.
Entegrasyona hazır mısınız?
Bir API anahtarı oluşturun ve bir sandbox projesiyle başlayın ya da teknik altyapınıza uygun entegrasyon şekli hakkında önce bizimle konuşun.