/ Developers API v1Open workspace

API reference

Platform

Request fields, access rules and response contracts for platform.

All endpoint paths include /api/v1. For protected writes, persist a stable idempotency key before making the request. Company integrations use https://api.digitalcard.technology.

GET/api/v1/context

Resolve portal context

Returns the portal surface and verified program branding for the request hostname.

AccessPublic

Request
curl --fail-with-body --request GET \
  'https://api.digitalcard.technology/api/v1/context'

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "get__api_v1_context",
  "tags": [
    "Platform"
  ],
  "summary": "Resolve portal context",
  "description": "Returns the portal surface and verified program branding for the request hostname.\n\nAccess: Public",
  "security": [],
  "parameters": [],
  "responses": {
    "200": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  }
}
GET/api/v1/health

Read service status

Returns the service readiness response.

AccessPublic

Request
curl --fail-with-body --request GET \
  'https://api.digitalcard.technology/api/v1/health'

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "get__api_v1_health",
  "tags": [
    "Platform"
  ],
  "summary": "Read service status",
  "description": "Returns the service readiness response.\n\nAccess: Public",
  "security": [],
  "parameters": [],
  "responses": {
    "200": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  }
}
GET/api/v1/openapi

Download OpenAPI

Returns this API contract as an OpenAPI 3.1 document.

AccessPublic

Request
curl --fail-with-body --request GET \
  'https://api.digitalcard.technology/api/v1/openapi'

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "get__api_v1_openapi",
  "tags": [
    "Platform"
  ],
  "summary": "Download OpenAPI",
  "description": "Returns this API contract as an OpenAPI 3.1 document.\n\nAccess: Public",
  "security": [],
  "parameters": [],
  "responses": {
    "200": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  }
}
POST/api/v1/program-requests

Request a program

Submits a commercial program inquiry. Rate limited to five requests per IP per hour.

AccessPublic

Body fieldTypeDetails
namerequiredstringLength: 2 to 160.
emailrequiredstringFormat: email
companyrequiredstringLength: 2 to 200.
countryrequiredstring
messagerequiredstringLength: 10 to 4000.
Request
curl --fail-with-body --request POST \
  'https://api.digitalcard.technology/api/v1/program-requests' \
  -H 'Content-Type: application/json' \
  --data-binary @request.json

Success: 201 · Resource created.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "post__api_v1_program_requests",
  "tags": [
    "Platform"
  ],
  "summary": "Request a program",
  "description": "Submits a commercial program inquiry. Rate limited to five requests per IP per hour.\n\nAccess: Public",
  "security": [],
  "parameters": [],
  "responses": {
    "201": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  },
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 2,
              "maxLength": 160
            },
            "email": {
              "type": "string",
              "maxLength": 254,
              "format": "email",
              "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
            },
            "company": {
              "type": "string",
              "minLength": 2,
              "maxLength": 200
            },
            "country": {
              "type": "string",
              "pattern": "^[A-Z]{2}$"
            },
            "message": {
              "type": "string",
              "minLength": 10,
              "maxLength": 4000
            }
          },
          "required": [
            "name",
            "email",
            "company",
            "country",
            "message"
          ]
        }
      }
    }
  }
}

Search documentation

Use ↑ ↓ to navigate · Enter to open