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.
Example Response
A typical response from this endpoint:
{ "type": "https://tools.ietf.org/html/rfc9110#section-15.5.2", "title": "Unauthorized", "status": 401, "traceId": "00-ef0db7690ced98431ac97782051edc77-2c4194d74ae6c08b-00"}
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'