Skip to main content
POST
/
api
/
v1
/
api_key
Create a new API Key
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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

Web app url

Example:

"https://example.com"

Response

Resource model

success
boolean
required

Indicates if the request was successful

Example:

true

data
object
required

The data returned by the API