Teila Verify API

The Teila Verify API tells you whether a licence issued through Teila is active and when it expires. Parties, scope and hashes are not public: the licence's parties see them in the app.

Endpoint

GET /api/v1/verify/{licenseId}

The licenseId is the same public id that appears on the certificate PDF and under /v/{licenseId}.

Authentication

None. The endpoint is read-only and rate-limited per IP.

Response

See the full schema in the OpenAPI descriptor. Key fields:

  • license.status: active, expired, revoked, or pending.
  • license.expires_at: expiry date, or null before the licence is confirmed.

Rate limits

60 requests per minute per IP. Responses include X-RateLimit-* headers. A 429 response indicates you should back off.

Webhook subscriptions

Consumers with an onboarded subscription receive HMAC-signed POSTs when a license changes state. Events: license.paid, license.signed, license.expired, license.revoked, license.amended, license.renewed.

Every delivery carries two headers:

  • x-teila-signature: sha256=<hex>: HMAC of the raw JSON body computed with your subscription secret.
  • x-teila-event: <event>

Verify signatures before trusting the payload. Teila retries on non-2xx responses; idempotency is keyed on aggregate_id + event.

Example

curl https://teila.ai/api/v1/verify/ABC123
# => {
#   "schema_version": "2",
#   "license": { "id": "ABC123", "status": "active", "expires_at": "2027-08-31" },
#   "verification_url": "https://teila.ai/v/ABC123"
# }

Cookies

We keep cookies to a minimum: the ones needed to sign you in and secure payments. With your permission we also measure visits with PostHog analytics. Change your choice at any time from Cookie settings in the footer. Cookie Policy