subscribers

Add a new subscriber

Changed on

Add a new subscriber to your publication. The publication is identified by the API key provided in the Authorization header.

Requirements:

  • At least one of email or wallet must be provided
  • If both are provided, the subscriber will be associated with both credentials

Behavior:

  • If the subscriber already exists (by email or wallet), they will not be duplicated
post/v1/subscribers

Request

  • Base URL
    https://public.api.paragraph.com/api
  • URL
    https://public.api.paragraph.com/api/v1/subscribers
  • Auth
    HTTP bearer

Request body

emailstring email

Email address of the subscriber

walletstring

Wallet address of the subscriber (0x format)

createdAtnumber

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

Response

Subscriber added successfully

successtrue required

Whether the subscriber was added

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      the endpoint scheme security apiKey was added to the API