Skip to Content
Settings

Update the settings

PATCH
/partner/settings

credit_low_threshold: credit.low fires once when a sub-customer's available credits fall below it (a customer's own threshold wins); null switches the default off.

Scope: partner.manage. Rate limit: 300 requests per minute per API key.

Authorization

apiKey partner.manage
headerAuthorizationBearer <msk_live_…>

An API key created under API keys in the panel: Authorization: Bearer msk_live_…. The key's scopes decide which operations it may call.

Scope: partner.manage

Request Body

application/json
  1. body
credit_low_threshold*|
Formatint64
Range1 <= value <= 1000000000

Response Body

Changed

application/json
  1. response
data*
meta*
Example Request
curl -X PATCH 'https://app.messora.tech/api/v1/partner/settings' \  -H 'Content-Type: application/json' \  -d '{  "credit_low_threshold": 100}'
Example Response
{  "data": {    "credit_low_threshold": 100  },  "meta": {    "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff"  }}