Home Forums Newsletter Developers Lists parameter is ignored in an API call

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #243294
    magicgol
    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.

    #243608
    magicgol
    Participant

    Any suggestion? Thanks.

    #243784
    astronati
    Participant

    Any news about that?

    I’m reproducing the same issue.

    #249225
    Brewer
    Participant

    Meet the best WordPress Newsletter plugin, a robust, full-featured plugin for managing subscribers and sending newsletters, powered by WordPress. The perfect plugin for bloggers, business owners and developers.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.