Skip to main content
POST
/
v1
/
apps
/
{id}
/
credentials
Generate OAuth client credentials
curl --request POST \
  --url https://api.leanrails.com/v1/apps/{id}/credentials \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Idempotency-Key: <idempotency-key>'
{
  "object": "oauth_client",
  "id": "<string>",
  "app_id": "<string>",
  "client_id": "<string>",
  "client_secret": "<string>",
  "client_secret_prefix": "<string>",
  "created": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.fluveo.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use your secret API key as the username with an empty password.

Headers

Idempotency-Key
string
required

Unique key to ensure idempotent requests.

Maximum string length: 255
X-API-Version
string

Override the API version for this request.

Path Parameters

id
string
required

The App ID.

Response

The OAuth client with secret shown once.

object
enum<string>
required
Available options:
oauth_client
id
string
required
app_id
string
required
client_id
string
required
client_secret
string
required

The client secret. Shown only once at creation.

client_secret_prefix
string
required
created
integer
required

Unix timestamp.