Add or manage user data and events via APIs
API Integration for User Data and Events
You can easily add or manage user data and events in Yellow.ai through our APIs. Keep your user-related data seamlessly synchronized with your entire tech stack.
Summary of User APIs:
Goal | Endpoint | Method | Doc Link |
---|---|---|---|
Create user | https://{host}/cdp/api/v1/user?bot={botId} | POST | Add user API |
Update user | https://{host}/cdp/api/v1/user/{userId}?bot={{botId}} | PUT | Update user API |
Get user by userId | https://{host}/cdp/api/v1/user/123456?properties=email,tags&bot={botId}&userId=true | GET | curl --location 'https://cloud.yellow.ai/cdp/api/v1/user/123456?properties=email%2Ctags&bot=x1625041041238&userId=true' ` |
Get All users | https://{host}/cdp/api/v1/user?bot={botId}&offset=0&limit={} | GET | Get user details API |
Delete user | https://{host}/cdp/api/v1/user/{userId}?bot={botId}&offset={}&limit={} | DELETE | Delete user API |
For more details, refer to our User Management API Reference Documentation.