Get credits
Read the finder or verifier credit balance of your Findymail account.
GET https://cotlet.dev/api/v1/findymail/credits
read
Returns the credits left for the type you ask for, the account email and has_capacity. has_capacity is only filled on usage-based plans, where false means the plan limit is reached; on credit-based plans it is null and the agent reads the credits number. Credits belong to the team owner, so every member sees the same balance. Reading the balance is free.
Parameters
| Name | Type | Description |
|---|---|---|
| type string | string | finder (default) or verifier. |
Request
curl https://cotlet.dev/api/v1/findymail/credits \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("findymail", "get_credits") const result = await cotlet.call('findymail', 'get_credits'); cotlet call findymail get_credits Example response
{
"credits": 4210,
"email": "maya@yourname.com",
"has_capacity": null
}