subscribers

Add a new subscriber

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 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

Changed in 3 of the 61 revisions of this API.42

    • removed the optional property error from the response with the 400 status

      response-optional-property-removed

    • removed the optional property error from the response with the 401 status

      response-optional-property-removed

    • removed the optional property error from the response with the 404 status

      response-optional-property-removed

    • removed the optional property error from the response with the 500 status

      response-optional-property-removed

    • the endpoint scheme security apiKey was added to the API

      api-security-added

    • endpoint added

      endpoint-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog