Endpoints
- Message templates
- Session
- Team
- Messages
- Help center collections
- Help center articles
- Help center
- Help center redirects
- Ticket
- Engagement Banner
- Engagement Chat Message
- Engagement Cobrowse
- Engagement Email
- Engagement News
- Engagement Product Tour
- Engagement Push Notification
- Engagement Survey
- Engagement Tooltip
- Engagement Whatsapp Messages
- Engagement Checklist
- Engagement
- AI content
- Engagement Modal
- Invitation
- Project
- User
- GETGet current user.
- GETGet Cello token for current user.
- POSTReassign all tickets to the user.
- POSTGet Pusher authentication.
- DELGet Pusher authentication.
- PUTUpdate user.
- POSTEnable 2FA.
- POSTVerify 2FA.
- DELDelete 2FA device.
- GETGet current user's role permissions.
- POSTAuthenticate user for Pusher session.
- POSTAuthenticate user for Pusher session.
- POSTResend a verification code to the user's email.
- POSTAuthenticate user for Pusher session.
- POSTAuthenticate user for Pusher session.
- GET
- Statistics
User
Update user.
Update user.
PUT
/
users
/
{userId}
Copy
curl --request PUT \
--url https://api.gleap.io/v3/users/{userId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "<string>",
"lastName": "<string>",
"userRole": "<string>",
"knewGleapFrom": "<string>",
"userUsage": "<string>",
"profileImageUrl": "<string>",
"completedOnboarding": true,
"oldpassword": "<string>",
"available": true,
"unavailableProjects": [
"<string>"
],
"notificationPreferences": "<any>",
"notificationSettings": "<any>"
}'
Copy
"<any>"
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200 - application/json
Ok
The response is of type any
.
Copy
curl --request PUT \
--url https://api.gleap.io/v3/users/{userId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "<string>",
"lastName": "<string>",
"userRole": "<string>",
"knewGleapFrom": "<string>",
"userUsage": "<string>",
"profileImageUrl": "<string>",
"completedOnboarding": true,
"oldpassword": "<string>",
"available": true,
"unavailableProjects": [
"<string>"
],
"notificationPreferences": "<any>",
"notificationSettings": "<any>"
}'
Copy
"<any>"
Assistant
Responses are generated using AI and may contain mistakes.