OpenSylo Backend API
  1. Marketplace Dashboard
OpenSylo Backend API
  • API Info
    • API Information
      GET
  • Health
    • HealthController_checkHealth
      GET
    • HealthController_ping
      GET
  • Marketplace Connections
    • Get available marketplaces
      GET
    • Get marketplace catalog
      GET
    • Get marketplace details
      GET
    • Initiate marketplace connection
      POST
    • Disconnect from marketplace
      POST
    • Get connection status
      GET
    • Update marketplace credentials
      POST
    • Handle OAuth callback
      POST
  • Merchant Authentication
    • Register a new merchant account
      POST
    • Authenticate merchant
      POST
    • Verify email address
      POST
    • Resend verification email
      POST
    • Request password reset
      POST
    • Reset password
      POST
    • Change password
      POST
    • Refresh access token
      POST
    • Logout
      POST
    • Get current user profile
      GET
  • MerchantKyc
    • MerchantKycController_getOnboardingStatus
    • MerchantKycController_getKycProgress
    • MerchantKycController_sendOtp
    • MerchantKycController_verifyOtp
    • MerchantKycController_updateBusinessInfo
    • MerchantKycController_addDirector
    • MerchantKycController_addBulkDirectors
    • MerchantKycController_uploadDocument
    • MerchantKycController_submitKyc
    • MerchantKycController_searchBusinessTypes
    • MerchantKycController_getBusinessCategories
    • MerchantKycController_getDocumentTypes
  • Merchants
    • Create a new merchant
    • Get all merchants
    • Get a merchant by ID
    • Update a merchant
    • Delete a merchant
  • Marketplace Data Ingestion
    • Submit Merchant Data
    • Submit Bulk Merchant Data
    • Get Merchant Credit Score
    • Health Check
  • Marketplace Dashboard
    • Complete Marketplace Registration
      POST
    • Marketplace Dashboard Login
      POST
    • Get OAuth Credentials
      GET
    • Regenerate Client Secret
      POST
    • Get Current User
      GET
    • Invite Marketplace (Admin)
      POST
  • OAuth 2.0
    • OAuth Authorization Endpoint
    • Process Authorization Decision
    • Token Endpoint
    • Revoke Token
    • Client Metadata
  • OAuth Authentication
    • Login Page
    • Login Submit
    • Signup Page
    • Signup Submit
    • Logout
  • Lenders
    • Create a new lender
    • Get all lenders
    • Get a lender by ID
    • Update a lender
    • Delete a lender
  • Schemas
    • PlatformDto
    • PlatformConnectionMetadataDto
    • PlatformConnectionInfoDto
    • PlatformListResponseDto
    • ConnectionInitResponseDto
    • ConnectionMetricsDto
    • ConnectionStatusResponseDto
    • DisconnectResponseDto
    • PlatformCatalogResponseDto
    • ConnectPlatformDto
    • DisconnectPlatformDto
    • PlatformCredentialsDto
    • MerchantSignupDto
    • SignupResponseDto
    • MerchantLoginDto
    • LoginResponseDto
    • MerchantVerifyEmailDto
    • EmailVerificationResponseDto
    • MerchantResendVerificationDto
    • GenericSuccessResponseDto
    • MerchantForgotPasswordDto
    • MerchantResetPasswordDto
    • MerchantChangePasswordDto
    • RefreshTokenDto
    • UserProfileResponseDto
    • OtpVerificationDto
    • BusinessKycDto
    • DirectorInfoDto
    • BulkDirectorInfoDto
    • DocumentUploadDto
    • CreateMerchantDto
    • UpdateMerchantDto
    • MarketplaceDataCaptureDto
    • BulkMarketplaceDataCaptureDto
    • CompleteMarketplaceRegistrationDto
    • MarketplaceLoginResponseDto
    • MarketplaceLoginDto
    • MarketplaceCredentialsResponseDto
    • RegenerateSecretResponseDto
    • InviteMarketplaceDto
    • MarketplaceInvitationResponseDto
    • CreateLenderDto
    • UpdateLenderDto
  1. Marketplace Dashboard

Regenerate Client Secret

POST
/api/marketplace-dashboard/credentials/regenerate-secret
Generate a new client secret.
IMPORTANT:
The old secret will be immediately invalidated
The new secret is only shown ONCE in this response
Store it securely - it cannot be retrieved again
All existing OAuth tokens will continue to work
Required Permission: credentials.regenerate

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or

Responses

🟢200
application/json
Secret regenerated successfully
Body

🟠401
🟠403
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.dev.opensylo.com/api/marketplace-dashboard/credentials/regenerate-secret' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "success": true,
    "message": "Client secret regenerated successfully",
    "clientSecret": "cs_secret_newxyz789...",
    "regeneratedAt": "2024-12-30T10:00:00.000Z"
}
Modified at 2025-12-30 08:04:15
Previous
Get OAuth Credentials
Next
Get Current User
Built with