X Credits

Inspect the workspace's included managed-X allowance, current weighted usage, remaining capacity, billing-period reset, and inbound safety limit.
GET/v1/billing/x-credits

Returns the authenticated workspace's bounded monthly X Credits allowance.

Bearer tokenWorkspace scoped

Request

Response

ParameterTypeRequiredDescription
modestringAlways "monthly_allowance" in the bounded-usage phase.
plan_idstringWorkspace plan used to select the included allowance.
monthly_allowanceinteger | nullIncluded X Credits for the billing period. Enterprise returns null for contract-defined capacity.
monthly_usedintegerFinalized and provisional weighted usage in the current billing period.
monthly_remaininginteger | nullRemaining included X Credits. Enterprise returns null.
billing_period_startstringISO-8601 start of the current allowance period.
billing_period_endstringISO-8601 reset boundary for the current allowance period.
catalog_versionstringOperation catalog version. Current value: x-credits-2026-07-16-v1.
inbound_daily_usageintegerWeighted inbound X usage accepted today in UTC.
inbound_daily_limitinteger | nullDaily inbound safety limit. Enterprise returns null for contract-defined capacity.
connection_mode_notestringExplains that managed X connections consume UniPost X Credits while BYO connections do not.

Operation catalog

The public catalog is versioned. X Credits are weighted units, not dollars, and are separate from the workspace's posts/month allowance. Inbox operations become usable as their phased X Inbox support ships.

Operation keyDescriptionCredits
post.createCreate normal X post15
post.create_urlCreate X post containing a URL200
post.reply_summonedCreate summoned X reply10
post.readRead public X post5
post.read_ownedRead app-owner X post1
user.readRead X user profile10
dm.readRead legacy X DM event10
dm.sendSend legacy X DM15
post.mention.receivedReceive X reply or mention5
dm.receivedReceive legacy X DM10

Managed versus BYO X connections

Managed X connections use UniPost's X developer app and consume this allowance. Bring-your-own X API connections use the customer's developer credentials and do not consume UniPost X Credits. Platform-owned limits, abuse controls, and the independent 20-post daily X safety cap still apply to both modes.

Errors

CodeHTTPDescription
unauthorized401The request is missing valid workspace authentication.
x_monthly_usage_limit_exceeded402The managed-X hard limit has been reached for this billing period. Wait for reset or upgrade/contact UniPost.
internal_error500The allowance snapshot could not be loaded. Retry and include request_id if contacting support.

Next steps

Use the X Credits guide to estimate operations and handle exhaustion. Compare included plan capacity in Plans and limits.