Adjust credits
A signed correction with a reason. A negative amount takes credits from the available balance, soonest expiry first; more than is available is 402 INSUFFICIENT_CREDITS (the balance never goes below zero). A positive amount adds a lot like a grant and needs expires_at (422 CREDIT_EXPIRY_REQUIRED).
Scope: partner.manage. Rate limit: 300 requests per minute per API key.
apiKey partner.manageAuthorizationBearer <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
customerId*stringThe sub-customer's id (not its external_id).
uuidIdempotency-Key?stringRetry-safe POST: a repeated request with the same key replays the first successful response for 24 hours. Rejected requests (4xx/5xx) are not remembered, so a corrected request may reuse the key.
8 <= length <= 200application/json- body
amount*integerCredits to add (positive) or take away (negative); not 0.
int64-1000000000 <= value <= 1000000000expires_at?stringRequired for a positive amount.
date-timereason*string1 <= length <= 500Adjusted
application/json- response
data*meta*curl -X POST 'https://app.messora.tech/api/v1/partner/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/credits/adjustments' \ -H 'Content-Type: application/json' \ -d '{ "amount": -20, "reason": "Duplicate grant on 1 December"}'{ "data": { "balance": { "available": 440, "next_expiry": "2027-01-31T21:00:00Z", "next_expiry_amount": 440, "reserved": 40 }, "entries": [ { "actor_type": "user", "amount": -20, "created_at": "2026-12-02T10:00:00Z", "id": "019a8c2e-4f1b-7a00-9c3d-5e7a10000301", "kind": "adjust", "lot_id": "019a8c2e-4f1b-7a00-9c3d-5e7a10000101", "reason": "Duplicate grant on 1 December", "reference": "", "reservation_id": null } ], "lot": null }, "meta": { "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff" }}Grant credits POST
Adds a lot of amount credits that expires at expires_at (required, in the future: 422 CREDIT_EXPIRY_REQUIRED otherwise). The Idempotency-Key header is required: a grant with a key this customer already used returns that grant (200) instead of adding credits again, for good (not only for 24 hours). Credits are spent soonest expiry first. Scope: partner.manage. Rate limit: 300 requests per minute per API key.
List sends GET
The provider's sends, newest first, paged with cursor, each as GET /partner/messages/{messageId} returns it. Filter by customer (customer_id or external_id), by status and by the days from–to (the workspace's time zone). Scope: one of partner.manage, partner.read. Rate limit: 300 requests per minute per API key.