API Keys
Create a new API key
Creates a new API key for an organization. The raw key is only returned once in the response.
post/api/org-api-keys
Request
- Base URLhttps://app.dailyplay.ai
- AuthHTTP bearer
Request body
Example request
{
"org_id": 1,
"name": "Production CRM",
"description": "Used by the CRM to issue game links",
"allowed_game_ids": [
42,
43
],
"rate_limit_per_minute": 60,
"rate_limit_per_day": 10000,
"expires_at": "2027-01-01T00:00:00Z"
}Response
API key created. The key field is only included in this response.
Example response
{
"success": true,
"data": {
"id": 1,
"name": "Production CRM",
"key_prefix": "dpk_a1b2",
"key": "dpk_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.