Skip to main content
POST
/
v1
/
external-support
/
{projectId}
/
secret
/
regenerate
Regenerate Signing Secret
curl --request POST \
  --url https://gateway.jelou.ai/jelouapi/v1/external-support/{projectId}/secret/regenerate \
  --header 'Authorization: Basic <encoded-value>'
{
  "signingSecret": "e5f6g7h8...new_signing_secret_hex",
  "regeneratedAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt

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

When regenerating the signing secret, the previous secret is immediately invalidated.

Description

Generates a new signingSecret for the specified project’s integration. The previous secret is invalidated immediately at the time of regeneration.

Endpoint

POST https://gateway.jelou.ai/jelouapi/v1/external-support/{projectId}/secret/regenerate

Path parameters

projectId
string
required
Unique identifier of the Jelou project whose signing secret you want to regenerate.

Authentication

All requests must include the x-api-key header with your Jelou project API key.
x-api-key: API_KEY

Request example

The following example regenerates the signing secret for project PROJECT_ID. No request body is sent:
cURL
curl --request POST \
  --url https://gateway.jelou.ai/jelouapi/v1/external-support/PROJECT_ID/secret/regenerate \
  --header 'x-api-key: API_KEY'

Responses

CodeStatusDescription
200OKSigning secret regenerated successfully. Includes the new signingSecret.
401UnauthorizedInvalid or missing authentication credentials.
404Not FoundNo integration exists for the specified projectId.
500Internal Server ErrorInternal server error.

Response example

{
  "message": [
    "Signing secret regenerated successfully"
  ],
  "statusMessage": "success",
  "status": 1,
  "data": {
    "brainId": "PROJECT_ID",
    "signingSecret": "SIGNING_SECRET"
  }
}

Security considerations

  • Store the new signingSecret securely (environment variables, vault, etc.).
  • The secret is only shown in the creation and regeneration responses; it cannot be retrieved afterwards.

Authorizations

Authorization
string
header
required

Basic authentication using Base64 encoded clientId:clientSecret

Path Parameters

projectId
string
required

Unique identifier of the Jelou project

Response

Signing secret regenerated successfully

signingSecret
string
Example:

"e5f6g7h8...new_signing_secret_hex"

regeneratedAt
string<date-time>