Skip to main content
POST
/
User
/
{userId}
/
Secret
Generate API credentials for a user
curl --request POST \
  --url https://api.plantpredict.terabase.energy/User/{userId}/Secret \
  --header 'Authorization: Bearer <token>'
{
  "clientId": "<string>",
  "clientSecret": "<string>"
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> on every request. See the Authentication section of the API description for how to fetch a token.

Path Parameters

userId
integer
required

Response

Generated client ID and secret (shown only once)

clientId
string
clientSecret
string