- Sync: Submit text via an HTTP request and receive the analysis in the response.
- Async: Use the Authenticity API to submit larger documents and receive results via webhook.
This guide focuses on the synchronous option. For asynchronous submissions, see the Authenticity API Guide.
Get started
Before you begin
Before you start, ensure you have the following:- An active Copyleaks account. If you don’t have one, sign up for free.
- You can find your API key on the API Dashboard.
Installation
Choose your preferred method for making API calls.HTTP needs no installation - call the API with any standard HTTP client, or import our Postman collection for a quicker start.
Login
To perform a scan, we first need to generate an access token. For that, we will use the login endpoint. The API key can be found on the Copyleaks API Dashboard.Upon successful authentication, you will receive a token that must be attached to subsequent API calls via theAuthorization: Bearer <TOKEN> header.
This token remains valid for 48 hours.Response
Save this token. It is valid for 48 hours and can be reused for subsequent API calls.
Interpreting the response
The Grammar Checker Response contains detailed feedback under thecorrections and score properties. The score provides an overall quality metric and a breakdown by category, while corrections pinpoints the exact location and suggested changes for each issue.Example Response Snippet
Next steps
Full API Reference
Explore the complete documentation for the Grammar Checker response object.
Correction Types
See a detailed list of all supported correction types and languages.
Try it
Test the Copyleaks grammar checker with your own text and see suggestions in seconds.

