Skip to main content
GET
PublicApiGetCreditHistory
Use this endpoint through the Developer API or the matching firstsales CLI command when available. Responses use the stable FirstSales public error envelope.

Authorizations

Authorization
string
header
required

FirstSales developer API key bearer token (fs-key-*).

Path Parameters

orgId
string
required

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0
from
string
Pattern: ^\d{4}-\d{2}-\d{2}$
to
string
Pattern: ^\d{4}-\d{2}-\d{2}$
action
enum<string>
Available options:
manual_email,
ai_email_standard,
ai_email_premium,
lead_find,
lead_deep_enrich,
maps_find,
maps_enrich,
ai_research_standard,
ai_research_premium,
ai_signature_polish,
learning_sample_batch,
learning_rerank_draft,
learning_model_refresh,
contact_cleaning,
contact_cleaning_refund,
copilot_turn,
copilot_contact_import,
copilot_research,
copilot_briefing,
thin_domain_enrichment,
admin_refund
campaignId
string
Pattern: ^[0-9a-fA-F]{24}$

Response

Successful response

logs
object[]
required
Maximum array length: 100
total
integer
required
Required range: 0 <= x <= 9007199254740991