Skip to content
Grammarly logo

Connectors / AI · HTTP Connector

Automate Grammarly with Tray.ai

Create a score request in Grammarly. Connect Grammarly to the rest of your AI stack with Tray.ai.

What can you do with Grammarly on Tray.ai?

Grammarly is an AI writing assistant that checks grammar, clarity, and tone, with admin tools for organizations to manage seats and review usage. Tray.ai connects to Grammarly through the HTTP Connector, so your workflows can call the Grammarly API alongside the rest of your stack. API access comes through Grammarly's partner program or API plan, so you need approved credentials first.

  • Remove a user when your HR system marks an employee as departed, to free up the seat.
  • Get a writing score for each draft before your content team publishes it in your CMS.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://api.grammarly.com/ecosystem/api

Set it up

Connect Grammarly to Tray.ai

Each step uses Grammarly's own API details, from its documentation.

Step 1

Sign in to Grammarly with OAuth 2.0

Ask Grammarly for API access. Once it's approved, set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Grammarly. Sign in once and every step reads the token from there.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.grammarly.com/ecosystem/api as the base URL. Or paste a cURL example from Grammarly's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List users”

It's one of 6 documented actions, under Users. The response comes back as data the next step can map into your other apps.

Step 4

Hand it to an AI agent

Wrap “List invitees” and “Create a score request” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Grammarly

Each one uses actions and events from Grammarly's own API documentation.

Remove Grammarly seats for users deactivated in Okta

When

A user is deactivated in Okta

Then

  1. List users to find the matching account
  2. Remove a user
  3. Post the freed seat to the IT channel in Slack

With Okta and Slack

Score Confluence drafts with Grammarly before publishing

When

A page is moved to review in Confluence

Then

  1. Create a score request with the page text
  2. Get a writing score
  3. Add the score as a comment on the page in Confluence

With Confluence

Apps you can build on Grammarly data

Internal tools your team can build with an AI assistant, each one using Grammarly calls from its API documentation.

Seat cleanup review

Lists users and pending invitees and lets an admin remove seats that are not in use.

Writing score check

Lets a writer submit a draft and see its writing score before it is published.

Give your AI agents Grammarly tools

Build an MCP server on Grammarly in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List users
  • List invitees
  • Create a score request
  • Remove a user
  • Remove an invitee
  • Get a writing score

What the Grammarly API covers

3 resources and 6 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Grammarly gives API access on request, so approved credentials come first. Connecting it takes a few clicks: here's how.

Users

  • List users
  • Remove a user

Invitees

  • List invitees
  • Remove an invitee

Writing scores

  • Create a score request
  • Get a writing score

Checked against Grammarly's own documentation on 2026-11-06

developer.grammarly.com

Frequently asked questions

What can a Tray.ai workflow do in Grammarly?

+

The Grammarly API documents 6 actions across 3 resources (Users, Invitees, Writing scores). For example: List users; List invitees; Create a score request. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Grammarly?

+

The Grammarly API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Do I need special access to the Grammarly API?

+

Yes. Grammarly gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.

See Grammarly working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.