Connecting to Sharpspring API

79 views
Skip to first unread message

Dave Ward

unread,
Jul 15, 2022, 4:10:07 PM7/15/22
to COZYROC
I'm trying to connect to the Sharpspring API using the COZYROC REST API connector. They only have a single endpoint, and I have to add accountID and secretKey to that endpoint, but submit my request as JSON in a POST to that URL. How do I configure a JSON request using this connection manager?

In postman I put the JSON in the "raw" request section, but not sure how to do the same thing with COZYROC.

Dave Ward

unread,
Jul 15, 2022, 5:07:02 PM7/15/22
to COZYROC
POST URL looks like:
https://api.sharpspring.com/pubapi/v1/?accountID={{accountID}}&secretKey={{secretKey}}

JSON Request body looks like:
{"method":"getLeads",
"params":{
    "where":{
        "emailAddress":""
    },
    "limit":500,
    "offset":0
},
"id":"{{requestID}}"
}

Ivan Peev

unread,
Jul 15, 2022, 6:31:08 PM7/15/22
to COZYROC
Hi,

Please open a ticket at our help desk here: desk.cozyroc.com

Reply all
Reply to author
Forward
0 new messages