REST API provides a modern, industry-standard REST API for retrieving and updating records in SmartSimple, with interactive Swagger documentation. Each request returns only the records permitted by the business security configuration and permissions of the associated API user.
Who: Global administrators
When to Use REST API
Use REST API when:
- Building a connection between SmartSimple and a third-party system, such as a payment processor, that creates or updates records directly in SmartSimple.
- Importing payment records into SmartSimple from third-party accounting software on a recurring basis.
- Retrieving records from SmartSimple. For example, to display SmartSimple data in a reporting or BI tool.
- Creating or uploading records in SmartSimple. For example, a payment processor or accounting system posting payment records, or an HR platform pushing employee record changes.
Create a User with API Access
To create a user with API access:
- Create a new user following the steps outlined in Manage Users and Contacts.
- From the new user's record, click the Actions drop-down menu and select Edit Roles and Access.
- Locate the Access Type field and click API Access, and then click Save.
Create a New User Access Token
To create a new user Access Token for REST API:
- Click the System Administration gear in the upper navigation bar, select Global Settings from the drop-down menu, and then click the Integrations tab.
- Locate the API Settings section and click API Users.
- Click the edit [pencil] icon next to the applicable user.
- Click User Access Tokens in the left navigation.
- Click the Generate User Access Token [+] button.
- Click the Note and Expiration fields and enter the applicable information.
- Locate the Token Type field and click SmartSimple REST API.
- Complete the fields and then click Save.
View External API Explorer
The External API Explorer, or Swagger page, stores all the documentation and allows you to log in and test your API calls to the endpoint.
To use the Access Token to view the SmartSimple External API:
- Click the System Administration gear in the upper navigation bar, select Global Settings from the drop-down menu, and then click the Integrations tab.
- Locate the API Settings section and click External API Explorer.
- Click API User Token.
- Click the Value field, paste the token from the Create a New User Access Token section, and then click Save.
You can now build a JSON and test the endpoints in the Swagger page.
Access REST API Filter Builder
The REST API Filter Builder is for the search endpoints, for example, querying or searching records based on specific criteria or filter conditions.
To access the SmartSimple REST API Filter Builder:
- Click the System Administration gear in the upper navigation bar, select Global Settings from the drop-down menu, and then click the Integrations tab.
- Locate the API Settings section and click SmartSimple REST API Filter Builder.
- Enter the applicable filters and click Generate JSON.
- Click Copy to Clipboard and test it out in the Swagger page shown in the View External API Explorer section.