⚒️License keys
License keys API endpoints
Get a license key
GET
https://downly.codexapps.co/api/v1/license-keys/{id}
Query Parameters
Name
Type
Description
id*
String
The id of the license key
api_key*
String
API Key
{
"id": 15,
"user_id": 1,
"order_id": 15,
"tag": "auto-generated",
"key": "g3na9tPFleBSLxHyfMH4g5d01LGYylOT",
"created_at": "2023-12-16T14:49:15.000000Z",
"updated_at": "2023-12-16T14:49:15.000000Z",
"order": null
}
Get license keys
GET
https://downly.codexapps.co/api/v1/license-keys
Query Parameters
Name
Type
Description
page
Page number
api_key*
String
API key
{
"current_page": 1,
"data": [
{
"id": 19,
"user_id": 1,
"order_id": 15,
"tag": "test",
"key": "g3n8sdflpWN4pCXWM2WrhgVvMa",
"created_at": "2023-12-21T08:53:53.000000Z",
"updated_at": "2023-12-23T00:29:08.000000Z",
"order": null
},
{
"id": 14,
"user_id": 1,
"order_id": 12,
"tag": "auto-generated",
"key": "g3nBgJYy9BGixB2E396032W1lnicrjCp",
"created_at": "2023-12-16T14:03:10.000000Z",
"updated_at": "2023-12-16T14:03:10.000000Z",
"order": null
}
],
"first_page_url": "https://downly.codexapps.co/api/v1/license-keys?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://downly.codexapps.co/api/v1/license-keys?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://downly.codexapps.co/api/v1/license-keys?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "https://downly.codexapps.co/api/v1/license-keys",
"per_page": 25,
"prev_page_url": null,
"to": 10,
"total": 10
}
Create a license key
POST
https://downly.codexapps.co/api/v1/license-keys
Query Parameters
Name
Type
Description
api_key*
String
API key
Request Body
Name
Type
Description
license_keys*
String
Comma separated license keys
tag
String
Tag of the license key
{"message":"License keys created successfully"}
Update a license key
PUT
https://downly.codexapps.co/api/v1/license-keys/{id}
Query Parameters
Name
Type
Description
api_key*
String
API Key
id*
String
The id of the license key
Request Body
Name
Type
Description
tag
String
Tag of the license key
{"message":"License key has been successfully updated."}
Delete a license key
DELETE
https://downly.codexapps.co/api/v1/license-keys/{id}
Query Parameters
Name
Type
Description
id*
String
The id of the license key
{"message":"License key has been successfully deleted."}
Last updated