Developer Hub & Public API

API v1 Production

Connect third-party ERPs, Shopify stores, and custom software via secure scoped API keys & outbound webhooks.

+ Generate API Key📖 Interactive Swagger Docs ↗
⚡Console Overview🔑API Keys📡Outbound Webhooks📖OpenAPI Documentation↗
Active API Keys
0
Scoped permissions & SHA-256 prefixes
Rate Limiting Tier
120 req / min
Redis sliding-window per key
Outbound Webhooks
0
HMAC-SHA256 signatures & 5x backoff
API Base URL
https://api.digitap.pk/api/v1
HTTPS REST endpoints (JSON body)

Quick Start Code Generator

Copy pre-formatted requests ready to test in terminal or paste into your backend code.

curl -X POST "https://api.digitap.pk/api/v1/messages" \
  -H "Authorization: Bearer dt_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: idemp_yafzdbd" \
  -d '{
    "to": "923001234567",
    "type": "template",
    "template": {
      "name": "order_confirmation",
      "language": "en_US",
      "parameters": [
        { "type": "text", "text": "#ORD-9982" },
        { "type": "text", "text": "PKR 4,500" }
      ]
    }
  }'
🛡️

Scoped Authorization

Authenticate with Authorization: Bearer dt_live_.... Each key can be restricted to specific privileges such as messages:send, messages:read, and contacts:write.

Manage Scoped Keys →
🔁

Idempotency Protection

Protect against duplicate billing or duplicate message dispatch during network timeouts by providing an Idempotency-Key header. Duplicate calls within 24 hours return the cached response.

View OpenAPI Schema →
🔏

Outbound HMAC Webhooks

All outbound event dispatches are signed with an HMAC-SHA256 signature in the X-Digitap-Signature header. Webhooks feature 5 exponential backoff retries with dead-letter queueing.

Configure Webhook Endpoints →