---
title: "Request a trial license"
method: POST
path: "/api/v2/licenses/trial"
tags: ["Enterprise"]
---

# Request a trial license

`POST /api/v2/licenses/trial`

## Request body

- CodersdkCreateTrialLicenseRequest
  - `attribution_id` string, uuid — AttributionID is the ID of the cta_click funnel event that led here, so that a signup can be joined back to the paywall that produced it.
  - `company_name` string, required
  - `country` string, required
  - `developers` string, required
  - `email` string, email, required
  - `first_name` string, required
  - `job_title` string, required
  - `last_name` string, required
  - `phone_number` string, required
  - `source` 'aibridge_session_threads' | 'aibridge_sessions' | 'ai_gateway_keys' | 'ai_governance' | 'appearance' | 'audit_log' | 'browser_only' | 'connection_log' | 'custom_roles' | 'external_auth' | 'groups' | 'idp_org_sync' | 'idp_sync' | 'multiple_organizations' | 'observability' | 'provisioner_keys' | 'provisioners' | 'template_permissions' | 'workspace_proxies' | 'direct'

## Response `201`

Created

- CodersdkLicense
  - `claims` object — Claims are the JWT claims asserted by the license. Here we use a generic string map to ensure that all data from the server is parsed verbatim, not just the fields this version of Coder understands.
  - `id` integer
  - `uploaded_at` string, date-time
  - `uuid` string, uuid

---

[API](https://skmtc.dev/coder/apis/coder-api.md) · [All operations](https://skmtc.dev/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coder/coder-api/revisions/369ae60ab00e/schema)
