You can use Postman (https://www.getpostman.com/) to make API calls to SharpSpring. Here’s how to get started.
This is what Postman will look like the first time you launch it. We need to change a few settings to begin working with SharpSpring.
First, we need to tell Postman that we will be making a Post request and provide the URL to post the request to. https://api.sharpspring.com/pubapi/v1/
Next, we will need to provide our accountID and secretKey for the request. You can find your API keys in SharpSpring by going to Settings -> SharpSpring API -> API Settings.
You will need to click the Params option. This will open up a window for us to add our keys and values. The two keys we will use are accountID and secretKey. The values will be the values found in your API Settings.
Next we will need to set the Header for the request. All SharpSpring API requests will need to be JSON encoded. To set this, we will click the header option below the URL. From here, we will set the Key as Content-Type and the Value as application/json.
Now we are almost ready to send our first API request from Postman.
In order to to write our first request you will need to click the Body section. This is where we will provide the JSON body for the API request. Select the raw radio button and change the drop to JSON (application/json).
Now we are ready to send an API request to SharpSpring using Postman.
Please sign in to leave a comment.