Skip to content
LeadMCPDocs

Get account

GET/account

Returns the account, the plan, whether the plan is unlimited, the last four characters of the active key and the quota block. On the free plan it also names the lifetime pool. This route is the source of truth for the plan. Free.

FreeFree.

Returns the account, the plan, whether the plan is unlimited, the last four characters of the active key and the quota block. On the free plan it also names the lifetime pool. This route is the source of truth for the plan. Free.

Response

The fields inside data.

account_idstringrequired

The id of the account.

planstringrequired

The plan name of the account. This route is the source of truth for the plan.

unlimitedbooleanrequired

True on the paid plan, which has unlimited contact credits. False on the free plan.

contact_credits_per_monthintegeroptional

Only on the free plan: the lifetime pool, 1,000 contact credits in total, for the life of the account.

contact_credits_per_dayintegeroptional

Only on the free plan: the same lifetime pool as contact_credits_per_month.

key_prefixenumrequired

The prefix of the active key. Only lm_live_ exists.

lm_live_

key_last_fourstringrequired

The last four characters of the active key. The key itself is shown once, at creation.

created_atstringoptional

The RFC 3339 UTC time at which the account was created.

Failures

StatusMeaning
401The credential is missing, unknown or revoked.
429The key passed 300 requests a minute or 2 concurrent requests.
503The data is unavailable for a short time.