OSTicket API
  • Introduction
  • Get Started
    • How to Use
    • Authentication
    • Request Structure
    • Configuration
  • Ticket
    • 🟢[POST] Add
    • 🟢[POST] Reply
    • 🟢[POST] Close
    • 🔵[GET] Specific
    • 🔵[GET] Status
    • 🔵[GET] Creation Date
    • 🔵[GET] Creation Date by Status
  • Users
    • 🟢[POST] Add
    • 🔵[GET] Specific by ID
    • 🔵[GET] Specific by Email
    • 🔵[GET] Creation Date
  • Departments
    • 🟢[POST] Add
    • 🔵[GET] Specific
    • 🔵[GET] Creation Date
    • 🔵[GET] Name
  • Tasks
    • 🔵[GET] Specific
    • 🔵[GET] Creation Date
    • 🔵[GET] By Ticket
  • SLA
    • 🟢[POST] Add
    • 🔴[DELETE] Delete
    • 🔵[GET] Specific
    • 🔵[GET] Creation Date
  • FAQ
    • 🔵[GET] Specific
    • 🔵[GET] All
  • Topics
    • 🔵[GET] Specific
    • 🔵[GET] All
Powered by GitBook
On this page
  1. Users

[POST] Add

Insert new user into database.

Base URL:

{YOUR-DOMAIN}/upload/ost_wbs/

[ Header ] Authentication

Field
Type
Mandatory

apikey

string

✔️

[ Body ] parameters

Option
Type
Mandatory

query

string

✔️

condition

string

✔️

name

string

✔️

email

string

✔️

password

string (Encoded by user)

✔️

timezone

string

✔️

phone

int

✔️

org_id

int

✔️

default_email_id

int

✔️

status

int

✔️

Body request example:

{
"query":"user",
"condition":"add",
"parameters":{
    "name": "User Name",
    "email": "UserEmail@gmail.com",
    "password": "UserPassword",
    "timezone": "Europe/London",
    "phone": 999999999,
    "org_id":1,
    "default_email_id":1,
    "status":1
    }
}
{
    "status": "Success",
    "time": 0.09253191947937012,
    "data": "42" // User ID
}
Previous[GET] Creation Date by StatusNext[GET] Specific by ID

Last updated 2 years ago

🟢