Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

290
Views
How to pass custom parameters to sendy via node js api?

I am trying to pass custom data in sendy via api of sendy. Sendy has custom field attributes in which we can pass data. I am using a sendy node js package whose link is provided on sendy website. the issue is that i am not able to pass custom field data to sendy api. Here is my code

 var params = {
            email: email2,
            custom: {
                'assignmentDetail':assignmentLink,
                'submissionDetail':submissionDetail,
                'FormLink':reviewerFormLink,
            },
            list_id: ListID,
            api_key: 'vQzxtX76pNFekG4w5BzC'
        };
        sendy.subscribe(params, function (err, result) {  if (err){ 
                console.log(err.toString());
                }else{ 
                UpdateData(recordID, email2, ListID);     
                console.log('Subscribed succesfully');}
            });

the custom field data is not being passed in the sendy. Please help

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I have found the solution to my problem. It is very simple. You need to make your custom fields in enclosed in quotes and you are done. Just like this

 var params = {
            email: email2,
         //make sure custom field names are same otherwise sendy would igore the fields
                'assignmentDetail':assignmentLink,
                'submissionDetail':submissionDetail,
                'FormLink':reviewerFormLink,
            
            list_id: ListID,
            api_key: 'vQzxtX76pNFekG4w5BzC'
        };
        sendy.subscribe(params, function (err, result) {  if (err){ 
                console.log(err.toString());
                }else{ 
                UpdateData(recordID, email2, ListID);     
                console.log('Subscribed succesfully');}
            });
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!