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/contextResolve portal context
Returns the portal surface and verified program branding for the request hostname.
AccessPublic
curl --fail-with-body --request GET \
'https://api.digitalcard.technology/api/v1/context' Success: 200 · Request completed.
OpenAPI operation and schemas
{
"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/healthRead service status
Returns the service readiness response.
AccessPublic
curl --fail-with-body --request GET \
'https://api.digitalcard.technology/api/v1/health' Success: 200 · Request completed.
OpenAPI operation and schemas
{
"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/openapiDownload OpenAPI
Returns this API contract as an OpenAPI 3.1 document.
AccessPublic
curl --fail-with-body --request GET \
'https://api.digitalcard.technology/api/v1/openapi' Success: 200 · Request completed.
OpenAPI operation and schemas
{
"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-requestsRequest a program
Submits a commercial program inquiry. Rate limited to five requests per IP per hour.
AccessPublic
| Body field | Type | Details |
|---|---|---|
namerequired | string | Length: 2 to 160. |
emailrequired | string | Format: email |
companyrequired | string | Length: 2 to 200. |
countryrequired | string | |
messagerequired | string | Length: 10 to 4000. |
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
{
"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"
]
}
}
}
}
}