These WordPress native actions allow integrating your Arengu forms for customer sign ups and login flows.
Connect your WordPress account
To connect your WordPress account to Arengu you will need the API URL and API key which can be found by installing the Wordpress Arengu Forms plugin:

Sign up
Creates a new user with email and password or just with an email (passwordless signup).
Input settings
Parameter | Description |
---|---|
ID (required) | Action ID. It is used to reference the output values of the action. |
Alias | Short description to be displayed in the action. |
Connection (required) | Select an existing connection from the vault or create a connection with the API URL an API key found in the WordPress Arengu Forms plugin. |
Email (required) | The user's email. |
Password | The user's password. If you don't provide a password a random one will be generated. |
Redirect URI | The URL where you want to redirect the user after a succesful authentication. By default it's the user's account page. |
JWT expiration time | Number of seconds that the JWT will be valid. By default it's 300 seconds (5 minutes). |
Meta | An object with key-value pairs with user meta data. |
Output object
Property | Type | Description |
---|---|---|
id | Number | The user ID in your WordPress database. |
String | The user email. | |
first_name | String | The user first name. |
last_name | String | The user last name. |
token | String | A signed JSON web token (JWT), containing sub (the user ID), email (the user email) and optionally redirect_uri with the absolute or relative URL the user will be redirected after the login. If the latter is not specified, the user will be redirected to the home page. |
login_url | String | Destination URL to sign in the user exchanging the generated token with a valid WordPress session. |
Output object example
{ "user": { "id": 1990, "email": "jane.doe@arengu.com", "first_name": "Jane", "last_name": "Doe" }, "token": "eyJ0eXAiOiJKV1Q...", "login_url": "https://foo.bar/wp-json/arengu_auth/login_jwt/eyJ0eXAiOiJKV1Q..." }
Find expected response and extra API information at WordPress' documentation.
Check credentials
Checks if provided credentials are valid or not.
Input settings
Parameter | Description |
---|---|
ID (required) | Action ID. It is used to reference the output values of the action. |
Alias | Short description to be displayed in the action. |
Connection (required) | Select an existing connection from the vault or create a connection with the API URL an API key found in the WordPress Arengu Forms plugin. |
Email (required) | The user's email. |
Password (required) | The user's password. |
Redirect URI | The URL where you want to redirect the user after a succesful authentication. By default it's the user's account page. |
JWT expiration time | Number of seconds that the JWT will be valid. By default it's 300 seconds (5 minutes). |
Output object
Property | Type | Description |
---|---|---|
id | Number | The user ID in your WordPress database. |
String | The user email. | |
first_name | String | The user first name. |
last_name | String | The user last name. |
token | String | A signed JSON web token (JWT), containing sub (the user ID), email (the user email) and optionally redirect_uri with the absolute or relative URL the user will be redirected after the login. If the latter is not specified, the user will be redirected to the home page. |
login_url | String | Destination URL to sign in the user exchanging the generated token with a valid WordPress session. |
Output object example
{ "user": { "id": 1990, "email": "jane.doe@arengu.com", "first_name": "Jane", "last_name": "Doe" }, "token": "eyJ0eXAiOiJKV1Q...", "login_url": "https://foo.bar/wp-json/arengu_auth/login_jwt/eyJ0eXAiOiJKV1Q..." }
Find expected response and extra API information at WordPress' documentation.
Issue a token
Generates a secure token you can use to log in a user.
Input settings
Parameter | Description |
---|---|
ID (required) | Action ID. It is used to reference the output values of the action. |
Alias | Short description to be displayed in the action. |
Connection (required) | Select an existing connection from the vault or create a connection with the API URL an API key found in the WordPress Arengu Forms plugin. |
Email (required) | The user's email. |
Redirect URI | The URL where you want to redirect the user after a succesful authentication. By default it's the user's account page. |
JWT expiration time | Number of seconds that the JWT will be valid. By default it's 300 seconds (5 minutes). |
Output object
Property | Type | Description |
---|---|---|
id | Number | The user ID in your WordPress database. |
String | The user email. | |
first_name | String | The user first name. |
last_name | String | The user last name. |
token | String | A signed JSON web token (JWT), containing sub (the user ID), email (the user email) and optionally redirect_uri with the absolute or relative URL the user will be redirected after the login. If the latter is not specified, the user will be redirected to the home page. |
login_url | String | Destination URL to sign in the user exchanging the generated token with a valid WordPress session. |
Output object example
{ "user": { "id": 1990, "email": "jane.doe@arengu.com", "first_name": "Jane", "last_name": "Doe" }, "token": "eyJ0eXAiOiJKV1Q...", "login_url": "https://foo.bar/wp-json/arengu_auth/login_jwt/eyJ0eXAiOiJKV1Q..." }
Find expected response and extra API information at WordPress' documentation.
Look up
Looks up details of an existing user.
Input settings
Parameter | Description |
---|---|
ID (required) | Action ID. It is used to reference the output values of the action. |
Alias | Short description to be displayed in the action. |
Connection (required) | Select an existing connection from the vault or create a connection with the API URL an API key found in the WordPress Arengu Forms plugin. |
Email (required) | The user's email. |
Output object
Property | Type | Description |
---|---|---|
email_exists | Boolean | Indicates if the email already exists or not returning a true or false value. |
Output object example
{ "email_exists": true }
Find expected response and extra API information at WordPress' documentation.