Creates a new User. When creating a new User, the required tags must be provided. See the specific integration for more details.
curl --request POST \ --url https://api.botpress.cloud/v1/chat/users \ --header 'Content-Type: application/json' \ --data '{ "tags": {}, "integrationName": "<string>", "name": "<string>", "pictureUrl": "<string>" }'
{ "user": { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "tags": {}, "name": "<string>", "pictureUrl": "<string>" } }
User data
The body is of type object.
object
Returns a User object if creation succeeds. Returns an Error otherwise
The response is of type object.
Was this page helpful?