cURL
curl --request POST \ --url https://api.paylora.org/api/v1/api_key \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "https://example.com" } '
{ "success": true, "data": { "uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef", "user_uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef", "status": "active", "key": "api_key_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "url": "https://example.com" } }
Create API Key. Permissions [“customer”]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Web app url
"https://example.com"
Resource model
Indicates if the request was successful
true
The data returned by the API
Show child attributes
The UUID of the API Key
"a1b2c3d4-e5f6-7890-1234-567890abcdef"
The UUID of the user associated with the API Key
The status of the API Key
active
inactive
"active"
The API Key itself
"api_key_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
Web address