Skip to main content
POST
/
users
Create a new user
curl --request POST \
  --url https://api.tapti.ai/users \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "John Doe",
  "email": "john.doe@example.com",
  "phone": "+1234567890"
}'
{
  "id": "690739f7-3e1b-4ceb-a439-23bd9c7ae573",
  "created_at": "2024-12-09T19:15:03.738Z",
  "updated_at": "2024-12-09T19:15:03.738Z",
  "name": "Dev's User 2",
  "email": "devU2@devweb.com",
  "phone": "9546557824",
  "tenant_app_id": "2bac016b-ad8f-4bf9-afb3-a63814bca95f"
}

Create a new user.

Body

application/json

The user to create

name
string
required

The name of the user

Example:

"John Doe"

email
string
required

The email of the user

Example:

"john.doe@example.com"

phone
string
required

The phone number of the user

Example:

"+1234567890"

Response

User created successfully

id
string
required

The unique identifier of the user

Example:

"690739f7-3e1b-4ceb-a439-23bd9c7ae573"

created_at
string<date-time>
required

The timestamp when the user was created

Example:

"2024-12-09T19:15:03.738Z"

updated_at
string<date-time>
required

The timestamp when the user was last updated

Example:

"2024-12-09T19:15:03.738Z"

name
string
required

The name of the user

Example:

"Dev's User 2"

email
string
required

The email of the user

Example:

"devU2@devweb.com"

phone
string
required

The phone number of the user

Example:

"9546557824"

tenant_app_id
string
required

The ID of the tenant app this user belongs to

Example:

"2bac016b-ad8f-4bf9-afb3-a63814bca95f"

I