Home Forums Newsletter Plugin Support Rest API does not add a subscriber to a list

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #244207
    astronati
    Participant

    Hello,

    I’m using The Newsletter Plugin with Newsletter API Extension, but I’m unable to perform some calls.

    curl -X POST \
      https://...../wp-json/newsletter/v1/subscribe \
      -H 'cache-control: no-cache' \
      -H 'content-type: application/json' \
      -d '{
        "email": "test@email.it",
        "api_key": "(my_api_key)",
        "lists": [2]
    }'

    Performing a call like this, the subscriber is created but not added to the list #2.
    The API Key is correctly added in the admin section, I double checked.

    Am I doing something wrong? Any suggestion?

    Thanks for your support.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.