Skip to content
Back to skills

Grammarly Webhooks Events

ASecurity

'Implement Grammarly webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Grammarly event notifications securely. Trigger with phrases like \"grammarly webhook\", \"grammarly events\", \"grammarly webhook signature\", \"handle grammarly events\", \"grammarly notifications\". '

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
ai-agentstypescriptgobashgitapibackendperformance

Works with

  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add thedixitjain/the-mega-skill-library --skill grammarly-webhooks-events --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Grammarly Webhooks Events?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Grammarly Webhooks Events
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedixitjain-grammarly-webhooks-events/badge)](https://www.skillsdirectory.com/skills/thedixitjain-grammarly-webhooks-events)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: grammarly-webhooks-events
description: "'Implement Grammarly webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Grammarly event notifications securely. Trigger with phrases like \"grammarly webhook\", \"grammarly events\", \"grammarly webhook signature\", \"handle grammarly events\", \"grammarly notifications\". '"
allowed-tools: "Read, Write, Edit, Bash(curl:*)"
category: backend-and-data
source_repo: jeremylongshore/claude-code-plugins-plus-skills
source_path: "plugins/saas-packs/grammarly-pack/skills/grammarly-webhooks-events/SKILL.md"
source_url: https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/HEAD/plugins/saas-packs/grammarly-pack/skills/grammarly-webhooks-events/SKILL.md
---

# Grammarly Webhooks & Events

## Overview

Grammarly's current API is request/response based — there are no push webhooks. For async operations (plagiarism detection), you poll for results. Build your own event system around Grammarly API results.

## Instructions

### Step 1: Plagiarism Polling with Callback

```typescript
async function plagiarismWithCallback(
  text: string,
  token: string,
  onComplete: (result: any) => void
) {
  const createRes = await fetch('https://api.grammarly.com/ecosystem/api/v1/plagiarism', {
    method: 'POST',
    headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application/json' },
    body: JSON.stringify({ text }),
  });
  const { id } = await createRes.json();

  const poll = async () => {
    const res = await fetch(`https://api.grammarly.com/ecosystem/api/v1/plagiarism/${id}`, {
      headers: { 'Authorization': `Bearer ${token}` },
    });
    const result = await res.json();
    if (result.status === 'pending') { setTimeout(poll, 3000); return; }
    onComplete(result);
  };
  poll();
}
```

### Step 2: Build Event Bus for Score Results

```typescript
import { EventEmitter } from 'events';

const grammarlyEvents = new EventEmitter();

grammarlyEvents.on('score.completed', (data) => {
  if (data.overallScore < 60) console.warn('Low quality content detected');
});

grammarlyEvents.on('ai.detected', (data) => {
  if (data.score > 70) console.warn('Likely AI-generated content');
});
```

## Resources

- [Grammarly API](https://developer.grammarly.com/)

## Next Steps

For performance, see `grammarly-performance-tuning`.

---

**Source:** [`jeremylongshore/claude-code-plugins-plus-skills`](https://github.com/jeremylongshore/claude-code-plugins-plus-skills) → `plugins/saas-packs/grammarly-pack/skills/grammarly-webhooks-events/SKILL.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.