Authenticity
Get Credit Balance
GET https://api.copyleaks.com/v3/scans/credits
Get your current credit balance. Each credit allow the scan of up to 250 words.
Request
Section titled “Request”Headers
Section titled “Headers”Authorization: Bearer YOUR_LOGIN_TOKEN
Responses
Section titled “Responses” 200 OK
The command was executed.
Response Schema
The response contains the following fields:
Amount integer
The number of credits available.
Example Response
A typical response from this endpoint:
{ "Amount": 100}
401 Unauthorized
Authorization has been denied for this request.
Examples
Section titled “Examples”GET https://api.copyleaks.com/v3/scans/creditsAuthorization: Bearer YOUR_LOGIN_TOKEN
curl --request GET \ --url https://api.copyleaks.com/v3/scans/credits \ --header 'Authorization: Bearer YOUR_LOGIN_TOKEN'