Skip to main content
POST
/
v1
/
subscribers
import { ParagraphAPI } from "@paragraph-com/sdk"

const api = new ParagraphAPI({ apiKey: "your-api-key" })
await api.subscribers.create({ email: "[email protected]" })
{
  "success": true
}

Authorizations

Authorization
string
header
required

API key for authenticating protected endpoints. Pass as Bearer token in Authorization header.

Body

application/json

Body

email
string<email>

Email address of the subscriber

wallet
string

Wallet address of the subscriber (0x format)

createdAt
number

Timestamp (in milliseconds) when the subscription was created. Defaults to current time.

Response

Subscriber added successfully

success
enum<boolean>
required

Whether the subscriber was added

Available options:
true,
false