With the use of this API, you can add Email data to WORKER TIER instance.
Method: POST
URI: /addEmail
Authentication: Require a valid access token to use this API
Parameters | Type | Description |
---|---|---|
token | String | This token required to use this API. You can get the token using authenticate API. |
Parameters | Type | Description |
---|---|---|
user_id | Integer | This is unique id of user who sends an email. |
to | String | This is an email id where the mail has to send. |
toname | String | This is a name of user who receives the email. |
from | String | This is an email who sends an email. |
fromname | String | This is a name of user who sends an email. |
subject | String | This is the subject of the email. |
body | String | Body contain the Html content of message. |
bcc | String | This is string which contain bcc email. It may multiple. Multiple emails are separated by comma. |
type_domain | Integer | This is an integer number. you can get this from api owner. It is diffrent from all domains. |
With the use of this API, you can add SMS data to WORKER TIER instance.
Method: POST
URI: /addSms
Authentication: Require a valid access token to use this API
Parameters | Type | Description |
---|---|---|
token | String | This token required to use this API. You can get the token using authenticate API. |
Parameters | Type | Description |
---|---|---|
user_id | Integer | This is unique id of user who sends an email. |
number | Integer | This is phone number where the message has to send. |
message | String | This is text message you want to send. |
type_domain | Integer | This is an integer number. you can get this from api owner. It is diffrent from all domains. |
With the use of this API, you can update the account of ADMIN as well as DASHBOARD.
Method: POST
URI: /accoutSave
Authentication: Require a valid access token to use this API
Parameters | Type | Description |
---|---|---|
token* | String | This token required to use this API. You can get the token using authenticate API. |
Parameters | Type | Description |
---|---|---|
user_id* | Integer | Enter the user id you want to update. |
email* | String | Enter the email you want to update. If not, enter the existing one. |
time_zone* | String | Enter the timezone of the login user. |
alternative_email_add | String | Enter that param if you want to add an alternative email. |
alternative_email_edit | String | Enter that param if you want to update an alternative email. |
alternate_email_remove | String | Enter that param if you want to remove an alternative email. |
password | String | Enter the Password if you want to update. |
password_confirm | String | Enter that field if you enter the password field.That is for password confirmation |
contact_number | String | Enter the conatct number of user. |
profilephoto | File | Select the file in multipart form. |
pattern_clients | String | Enter the Pattern client of user. It may be more than one by comma separated. |
With the use of this API, you can serach agency.
Method: POST
URI: /adminUsers
Authentication: Require a valid access token to use this API
Parameters | Type | Description |
---|---|---|
token* | String | This token required to use this API. You can get the token using authenticate API. |
Parameters | Type | Description |
---|---|---|
role* | Integer | Enter the role id of admin users. |
SITE_DOMAIN* | Integer | Enter the domain id from where you want to fetch. |
With the use of this API, you can fetch admin users with roles.
Method: POST
URI: /getUserWithRoles
Authentication: Require a valid access token to use this API
Parameters | Type | Description |
---|---|---|
token* | String | This token required to use this API. You can get the token using authenticate API. |
Parameters | Type | Description |
---|---|---|
role* | String | Enter the roles you want to fetch as a array. |
domain* | Integer | Enter the domain id from where you want to fetch. |
With the use of this API, you can save or edit the user.
Method: POST
URI: /saveUser
Authentication: Require a valid access token to use this API
Parameters | Type | Description |
---|---|---|
token* | String | This token required to use this API. You can get the token using authenticate API. |
Parameters | Type | Description |
---|---|---|
first_name* | Integer | Enter the first name of the user. |
last_name* | Integer | Enter the last name of the user. |
email* | Integer | Enter the email the of the user. |
password* | Integer | Enter the password for user. |
confirm_password* | Integer | Enter the confirm password for the user. |
user_id | Integer | Enter the user id if you want to update. |