Skip to main content
Use this endpoint to retrieve the API client credentials associated with your Shogun account. The response returns your client_id and a masked client_secret, which you can use to confirm the credentials currently active for your Integration API access.

Endpoint

POST /api/v1/security/web/get_api_client

Authentication

All requests must include a valid Dashboard Bearer token in the Authorization header.
HeaderTypeRequiredDescription
AuthorizationstringYesBearer <token> — obtain from Login
Content-TypestringYesapplication/json

Request Body

This endpoint requires no request body.

Response

A successful response returns your APIKey object containing your client_id and a masked representation of your client_secret.
FieldTypeDescription
client_idstringYour unique Integration API client identifier
client_secretstringMasked version of your current client secret

Success

{
  "status": true,
  "response_code": "00",
  "message": "Success",
  "data": {
    "client_id": "your_client_id",
    "client_secret": "••••••••••••••••••••••••secret"
  }
}

Example

curl --request POST \
  --url https://baasapi.payrepmfb.com/api/v1/security/web/get_api_client \
  --header 'Authorization: Bearer <your_dashboard_token>' \
  --header 'Content-Type: application/json'