-
Notifications
You must be signed in to change notification settings - Fork 561
Register a User
Description : This API is used to register a new user in Faveo. To register a user call this api with required fields. By default the role of the user created is client, incase the api is being called by admin user then role can be defined to agent or admin.
- URL : api/v1/helpdesk/register
Parameters :
Name | Data Type | Required/Optional | Description |
---|---|---|---|
username |
String | Required | Username of the user |
email |
String | Required | Email address of the user |
password |
String | Required | Password of the user |
api_key |
String | Optional | An alphanumeric code that can be used to authenticate your API calls. To make it required login to Admin panel and go to API setting and make it mandatory |
gender |
String | Optional | Gender of the user |
address |
String | Optional | Address of the user |
first_name |
String | Required | First name of the user |
last_name |
String | Required | Last name of the user |
mobile |
String | Optional | Mobile number of the suer |
company |
String | Optional | Company of the user |
role |
String | Optional | Role of the user |
HTTP Method : POST
Response Format : JSON
Response : Returns user details on success and error message on failure
JSON Response Example :
Success Response :
{
"register": {
"message": "Activate your account! Click on the link that we've sent to your mail",
"user": {
"first_name": "imran",
"email": "imran@gmail.com",
"mobile": null,
"country_code": 0,
"user_name": "imran",
"role": "user",
"updated_at": "2018-08-23 07:09:31",
"created_at": "2018-08-23 07:09:31",
"id": 46
}
}
}
Some Common Error :
Error Response : If the token is not provided with the API call then it will throw the error.
{
"success": false,
"message": "Token not provided"
}
If the username is already taken
"error": {
"username": [
"The username has already been taken."
]
}
}
If the username or any other required parameter is missing in the API call
"error": {
"username": [
"The username field is required."
],
"first_name": [
"The first name field is required."
]
}
}
Response Description :
Parameter | Description |
---|---|
message | success message after the API call |
first_name | first name of the user |
email of the user | |
mobile | mobile number of the user |
country_code | country code of the user |
user_name | user name of the user |
role | role of the user |
updated_at | indicates the time when the user profile is updated |
created_at | indicates the time when the user profile is created |
id | unique id of the user |
Did you find it helpful? If not email us on support@faveohelpdesk.com
Installation and Upgrade Guide
- GUI Install Wizard
- Manual Install
- CLI Install
- Server Requirements
- Installation with Apache
- Installation with cPanel
- Cron Job or any Job scheduler
- Faveo Helpdesk Installation on CentOS 7 with Apache on PHP 7.1
- Faveo Helpdesk Installation on CentOS 7 with Nginx on PHP 7.1
- Faveo Helpdesk Installation on Ubuntu 18.04 LTS with Apache on PHP 7.1
- Faveo Helpdesk Installation on Ubuntu 18.04 LTS with Nginx on PHP 7.1
- Faveo Helpdesk Installation on Debian 9 with Nginx on PHP 7.1
- Faveo Helpdesk Installation on Debian 9 with Apache on PHP 7.1
- Migrating Faveo from one server to another
- Configuration of Redis with Faveo
- Install and configure Redis, Supervisor and Worker for Faveo on Ubuntu 16.04
- Install Let’s Encrypt SSL on CentOS 7 Running Apache Web Server
- Install and configure a simple mail server for sending mails using PHP mail function in Faveo on Ubuntu 16.04 server
- Install and configure Redis, Supervisor and Worker for Faveo on Centos 7
- Install and configure a simple mail server for sending mails using PHP mail function in Faveo on Centos 7 server
- Faveo Helpdesk Pro Installation on Windows Server 2012 R2
- Install Active Directory Domain Services in Windows Server 2012 R2
- Install Faveo Helpdesk Community on Centos, Ubuntu or Debian Using Script
- Set up automatic backup for Faveo-Helpdesk
Administrator's Guide
- Faveo File Storage
- Change client side theme color
- How to edit or change the footer in faveo
- How to change agent and admin panel Faveo logo link and logo
- Agents
- Departments
- Team
- Priority
- SLA
- Workflow
- Helptopic
- Default Ticket Settings
- Status
- Rating
- Close Ticket Workflow
- Company Settings
- Social Login
- Language
- Security
- Debugging/Logs
- Ban Emails
- Widgets
Agent's Guide
Email Integration
Release & Upgrade Notes
- General Faveo Upgrade Guide Manual
- General Faveo Upgrade Guide Auto
- Upgrade guide to v1.9.2
- Upgrade guide to v1.9.0
- How to update v1.0.7.9 to v1.0.8.0
- Manual Upgrade from v1.0.7.8 to v1.0.7.9
- Faveo Release notes & upgrade guide for V1.0.7.7
- Faveo Release notes & upgrade guide for V1.0.7.5
- Faveo Release notes & upgrade guide for V1.0.7
Known Issues
- The open_basedir restriction in effect
- 404 Not Found
- 500 Internal Server Error
- Bug after update from 1.0.7.4 to 1.0.7.5 or higher version
- Syntax error, unexpected ‘var’(T_VAR), expecting ‘;’
Contribute & Feedback
- Support the community edition
- Contribution Guide
- Faveo Feedback & Customisation
- Help in language translate
Knowledge Base
Third Party Integration
Plugins
API