Trustmary¶
With the Trustmary modules in Ibexa Connect, you can watch completed answers, and create, and list contacts.
To get started with Trustmary, create an account at trustmary.com
Connect Trustmary to Ibexa Connect¶
To connect Trustmary app, you need to obtain the API Key from your Trustmary account and insert it into the Trustmary module scenario.
-
Log in to your Trustmary account.
-
Click Profile > Settings > Add new.
-
Enter a name for the API Key and click Save.
-
Copy the API Key to a safe place.
-
Log in to your Ibexa Connect account, open a Trustmary module scenario and click the Add button next to the Connection field.
-
In the Connection name field, enter a name for the connection.
-
In the API Key field, enter the details copied in step 2 and click Save.
You have successfully established the connection. You can now begin editing your scenario and adding more Trustmary modules. If your connection needs reauthorization at any point, follow the connection renewal steps here.
Triggers¶
You can watch newly completed answers using the following modules.
Watch New Completed Answer¶
Triggers when a new survey answer is completed.
Webhook name | Enter a name for the webhook. |
Actions¶
You can create and make an API call using the following modules.
Create a Contact¶
Creates a new contact.
For field descriptions, see the Trustmary Actions API reference.
Make an API Call¶
Performs an arbitrary authorized API call.
Note
For the list of available endpoints, refer to the Trustmary API documentation.
URL |
Enter a path relative to |
Method |
GET to retrieve information for an entry. POST to create a new entry. PUT to update/replace an existing entry. PATCH to make a partial entry update. DELETE to delete an entry. |
Headers |
Enter the desired request headers. You don't have to add authorization headers; we already did that for you. |
Query String |
Enter the request query string. |
Body |
Enter the body content for your API call. |
Example of use - List Contacts¶
The following API call returns all the contacts from your account.
URL: /v1/contacts
Method: GET
The search matches can be found in the module's Output under Bundle > Body > contacts.
In our example, 5 contacts were returned:
Searches¶
You can list contacts using the following modules.
List Contacts¶
Lists all contacts or returns specific ones.
Enter the Email whose contacts you want to list. | |
Limit | Set the maximum number of contacts Ibexa Connect will return during one execution cycle. The default value is 10. |