Skip to content

TextIt

The TextIt modules allow you to monitor, create, update, retrieve, and delete the contacts, and labels in your TextIt account.

Getting Started with TextIt

Prerequisites

  • A TextIt account

In order to use TextIt with Ibexa Connect, it is necessary to have a TextIt account. If you do not have one, you can create a TextIt account at textit.in.

Note

The module dialog fields that are displayed in bold (in the Ibexa Connect scenario, not in this documentation article) are mandatory!

Connecting TextIt to Ibexa Connect

To connect your TextIt account to Ibexa Connect you need to obtain the API Key from your TextIt account and insert it in the Create a connection dialog in the Ibexa Connect module.

1. Go to the TextIt API page and log in to your TextIt account.

2. Copy the API Key to your clipboard.

61f27c7d7e814.png

3. Go to Ibexa Connect and open the TextIt module's Create a connection dialog.

61f27c7eaa522.gif

4. In the Connection name field, enter a name for the connection.

5. In the API Token field, enter the API token details copied in step 2, and click Continue.

The connection has been established.

Contacts

List Contacts

Gets all contacts.

Limit Set the maximum number of contacts Ibexa Connect should return during one execution cycle.

Get a Contact

Gets a contact.

Contact UUID Select the Contact UUID whose details you want to retrieve.

Start Contacts Down a Flow

Starts contacts down a flow.

Flow Select the flow whose contacts you want to start
Start With Select or map the option to start the flow with.
Restart Participants Select whether the participants were restarted in the flow.
Parameters (Optional) Enter the details for the custom fields displayed by the module.

Create a Contact

Creates a contact.

Name Enter the contact's name.
Language Select or map the contact's preferred language.
URNs Add the required URNs such as contact's Facebook, Twitter.
Groups Add the contact to the groups. You can add multiple groups.
Params (Optional) Enter the details for the custom fields displayed by the module.

Update a Contact

Modifies a contact.

Name Enter the contact's name.
Language Select or map the contact's preferred language.
URNs Add the required URNs such as contact's Facebook, Twitter.
Groups Add the contact to the groups. You can add multiple groups.

Delete a Contact

Removes a contact.

Contact UUID Select or map the Contact UUID you want to delete.

Labels

List Labels

Gets all labels.

Limit Set the maximum number of labels Ibexa Connect should return during one execution cycle.

Get a Label

Gets a label.

Label UUID Select the Label UUID whose details you want to retrieve.

Create a Label

Creates a label.

Name Enter a name for the label.

Update a Label

Modifies a label.

Label UUID Select the Label UUID whose labels you want to update.
Name Enter a new name for the label.

Delete a Label

Removes a label.

Label UUID Select or map the Label UUID you want to delete.

Triggers

Note

You do not have to add the webhooks in the TextIt as it is automatically done for you once you add and save an instant trigger module to your scenario.

Universal Trigger

Triggers when the selected event occurs.

Webhook Name Enter a name for the webhook.
Resthook Select or map the hook to which you want to connect to.

Other

Make an API Call

Performs an arbitrary authorized API call.

URL

Enter a path relative to https://api.textit.in/api. For example: /v2/contacts.json.

For the list of available endpoints, refer to the TextIt API Documentation.

Method

Select the HTTP method you want to use:

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've already done that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of Use - List Labels

The following API call returns all the labels from your TextIt account:

URL: /v2/labels.json

Method: GET

61f27c810def5.png

Matches of the search can be found in the module's Output under Bundle > Body > results. In our example, 5 labels were returned:

61f27c8236faf.png xtit.in/api/v2/" class="link">TextIt API Documentation.

Method

Select the HTTP method you want to use:

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've already done that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of Use - List Labels

The following API call returns all the labels from your TextIt account:

URL: /v2/labels.json

Method: GET

61f27c810def5.png

Matches of the search can be found in the module's Output under Bundle > Body > results. In our example, 5 labels were returned:

61f27c8236faf.png