Issue a licence
POST
/v1/admin/licences
const url = 'https://api.sealcord.com/v1/admin/licences';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"product_id":"example","email":"hello@example.com","limit_kind":"seats","limit_count":1,"expires_at":"2026-04-15T12:00:00Z","major":1,"id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","external_ref":"example","trial":false}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.sealcord.com/v1/admin/licences \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "product_id": "example", "email": "hello@example.com", "limit_kind": "seats", "limit_count": 1, "expires_at": "2026-04-15T12:00:00Z", "major": 1, "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "external_ref": "example", "trial": false }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
product_id
required
string
email
required
string format: email
limit_kind
string
limit_count
integer
expires_at
string format: date-time
major
integer
id
string format: uuid
external_ref
string
trial
boolean
Responses
Section titled “Responses”Missing or invalid API key.
Needs scope licences:write.