0

Trying to do https://developers.sendinblue.com/reference#createcontact, the cURL command they provide in their API help works from the command line, but I can't get it to work in the Webform handler.

I tried setting the headers in the remote post handler "Advanced" tab in the "Custom options" box.

header:
  Accept: application/json
  Content-Type: application/json
  api-key: xkeysib-XXXXX

The request looks correct in the devel/debugging.

header:
  Accept: application/json
  Content-Type: application/json
  api-key: xkeysib-XXXXX

It gives an error.

  • Response status code: 401

  • Response body

       {"message":"Key not found","code":"unauthorized"}
    
  • Response data

      message: 'Key not found'
      code: unauthorized
    

How do I correctly send the request?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.