Skip to content

Create test API authorisation ​

POST
/v1/internal/generate-test-api-key

Authorizations​

api_key
Type
API Key (header: X-Api-Key)

Request Body​

application/json
JSON
{
  
"distributor_dto": {
  
  
"version": 22,
  
  
"created": null,
  
  
"updated": null,
  
  
"deleted": null,
  
  
"created_by": null,
  
  
"updated_by": null,
  
  
"deleted_by": null,
  
  
"metadata": {
  
  
  
"additionalProperties": "string"
  
  
},
  
  
"distributor_name": "string",
  
  
"administrative_email": "string",
  
  
"account_type": "free",
  
  
"sandbox_only": true,
  
  
"fixed_fee": 2.85,
  
  
"see_own_supplier_tickets": false,
  
  
"preferred_currency": "EUR",
  
  
"iso_country": null,
  
  
"iso_country_code": null,
  
  
"email": null,
  
  
"company": null,
  
  
"slug": null,
  
  
"distributor_id": null,
  
  
"distributor_status": null,
  
  
"distributor_supplier_status": null,
  
  
"supplier_id": null,
  
  
"supplier": {
  
  
  
"additionalProperties": "string"
  
  
},
  
  
"corporate_color": null,
  
  
"narrative_color": null,
  
  
"font_family": null,
  
  
"logo_url": null,
  
  
"payment_segment": null,
  
  
"business_segment": null,
  
  
"thirty_day_limit": null,
  
  
"sixty_day_limit": null,
  
  
"ninety_day_limit": null,
  
  
"total_deferred_limit": null,
  
  
"total_invoice_limit": null,
  
  
"grace_period_download_tickets": 3,
  
  
"payment_condition": null,
  
  
"ticket_sales_volume": null,
  
  
"distribution_channel_type": null,
  
  
"activation_link": null,
  
  
"sports_disabled": [
  
  
  
"string"
  
  
],
  
  
"sports_enabled": [
  
  
  
"string"
  
  
],
  
  
"distributor_metadata": {
  
  
  
"additionalProperties": "string"
  
  
},
  
  
"signed_platform_agreement_date": null,
  
  
"signed_platform_agreement_version": null,
  
  
"logged_in_last_month": null,
  
  
"logged_in_last_3_months": null,
  
  
"address_dto": {
  
  
  
"version": 2,
  
  
  
"created": null,
  
  
  
"updated": null,
  
  
  
"deleted": null,
  
  
  
"created_by": null,
  
  
  
"updated_by": null,
  
  
  
"deleted_by": null,
  
  
  
"metadata": {
  
  
  
  
"additionalProperties": "string"
  
  
  
},
  
  
  
"country": null,
  
  
  
"city": null,
  
  
  
"province": null,
  
  
  
"latitude": null,
  
  
  
"longitude": null,
  
  
  
"number": null,
  
  
  
"postalcode": null,
  
  
  
"streetname": null,
  
  
  
"streetname2": null,
  
  
  
"location_id": null,
  
  
  
"address_id": null
  
  
},
  
  
"invoice_address_dto": {
  
  
  
"version": 2,
  
  
  
"created": null,
  
  
  
"updated": null,
  
  
  
"deleted": null,
  
  
  
"created_by": null,
  
  
  
"updated_by": null,
  
  
  
"deleted_by": null,
  
  
  
"metadata": {
  
  
  
  
"additionalProperties": "string"
  
  
  
},
  
  
  
"country": null,
  
  
  
"city": null,
  
  
  
"province": null,
  
  
  
"latitude": null,
  
  
  
"longitude": null,
  
  
  
"number": null,
  
  
  
"postalcode": null,
  
  
  
"streetname": null,
  
  
  
"streetname2": null,
  
  
  
"location_id": null,
  
  
  
"address_id": null
  
  
},
  
  
"finance_dto": {
  
  
  
"version": 4,
  
  
  
"created": null,
  
  
  
"updated": null,
  
  
  
"deleted": null,
  
  
  
"created_by": null,
  
  
  
"updated_by": null,
  
  
  
"deleted_by": null,
  
  
  
"metadata": {
  
  
  
  
"additionalProperties": "string"
  
  
  
},
  
  
  
"hashkey": null,
  
  
  
"vat_number": null,
  
  
  
"member_state": null,
  
  
  
"phone_number": null,
  
  
  
"administrative_email": null,
  
  
  
"payment_methods": [
  
  
  
  
[
  
  
  
  
]
  
  
  
],
  
  
  
"chamber_of_commerce": null,
  
  
  
"invoice_template": null,
  
  
  
"foreign_vat_numbers": {
  
  
  
  
"additionalProperties": "string"
  
  
  
},
  
  
  
"document_types_accessible": [
  
  
  
  
[
  
  
  
  
]
  
  
  
]
  
  
},
  
  
"customerservice_dto": {
  
  
  
"version": 2,
  
  
  
"created": null,
  
  
  
"updated": null,
  
  
  
"deleted": null,
  
  
  
"created_by": null,
  
  
  
"updated_by": null,
  
  
  
"deleted_by": null,
  
  
  
"metadata": {
  
  
  
  
"additionalProperties": "string"
  
  
  
},
  
  
  
"hashkey": null,
  
  
  
"phone_number": null,
  
  
  
"url_website": null,
  
  
  
"email": null,
  
  
  
"trade_name": null
  
  
},
  
  
"maincontact_dto": {
  
  
  
"version": 2,
  
  
  
"created": null,
  
  
  
"updated": null,
  
  
  
"deleted": null,
  
  
  
"created_by": null,
  
  
  
"updated_by": null,
  
  
  
"deleted_by": null,
  
  
  
"metadata": {
  
  
  
  
"additionalProperties": "string"
  
  
  
},
  
  
  
"hashkey": null,
  
  
  
"firstname": null,
  
  
  
"lastname": null,
  
  
  
"phonenumber": null,
  
  
  
"email": null
  
  
},
  
  
"financecontact_dto": {
  
  
  
"version": 2,
  
  
  
"created": null,
  
  
  
"updated": null,
  
  
  
"deleted": null,
  
  
  
"created_by": null,
  
  
  
"updated_by": null,
  
  
  
"deleted_by": null,
  
  
  
"metadata": {
  
  
  
  
"additionalProperties": "string"
  
  
  
},
  
  
  
"hashkey": null,
  
  
  
"firstname": null,
  
  
  
"lastname": null,
  
  
  
"phonenumber": null,
  
  
  
"email": null
  
  
},
  
  
"roles": [
  
  
  
"string"
  
  
],
  
  
"sport_interests": [
  
  
  
"string"
  
  
],
  
  
"allowed_currencies": [
  
  
  
"string"
  
  
]
  
},
  
"client_dto": {
  
  
"version": 2,
  
  
"created": null,
  
  
"updated": null,
  
  
"deleted": null,
  
  
"created_by": null,
  
  
"updated_by": null,
  
  
"deleted_by": null,
  
  
"metadata": {
  
  
  
"additionalProperties": "string"
  
  
},
  
  
"email": "string",
  
  
"scope": "string",
  
  
"label": "string",
  
  
"distributor_id": null,
  
  
"language": null,
  
  
"client_status": null,
  
  
"client_id": null,
  
  
"roles": [
  
  
  
[
  
  
  
]
  
  
],
  
  
"available_roles": [
  
  
  
[
  
  
  
]
  
  
],
  
  
"secret": null,
  
  
"distributor_name": null,
  
  
"active_until": null
  
},
  
"requested_client_id": "string",
  
"distributor_name": "string",
  
"is_admin": true
}

Responses​

Created

application/json
JSON
{
  
"label": "Primary Secret",
  
"client_id": "19941a73d2b5498caf6894d62bb6c3a4_cln",
  
"secret": "s3cr3tK3y",
  
"activated": true,
  
"active_until": "2025-12-31T23:59:59"
}

Playground​

Server
Authorization
Body

Samples​