#help

Access Issues and User Deletions on Chatwoot Platform

TLDR prajwals faced error in using an access token, and also asked how to delete users. sojan_official guided on how to get a platform access token but didn't address the user deletion issue.

Powered by Struct AI
Jul 20, 2022 (17 months ago)
prajwals
Photo of none
prajwals
11:08 AM
@&648450842441023488 #650257251856285707 I am using the chatwoot cloud to build a custom chat using the api but, After Adding the access token i still get the error "error": "Invalid access_token
Image 1 for <@&648450842441023488> <#650257251856285707> I am using the chatwoot cloud to build a custom chat using the api but, After Adding the access token i still get the error "error": "Invalid access_token
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
01:07 PM
you are hitting against /platform endpoint. which is only accessible in self hosted instances.. also for platform endpoints you will need a platform access token. not the user access token
prajwals
Photo of none
prajwals
03:36 PM
I have hosted it on aws, Where can i find the platform access token?
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
07:31 PM
go to installation/super_admin -> go to platform apps and create an app .. now go to access tokens and you can find the access token for your platform app
Jul 22, 2022 (17 months ago)
prajwals
Photo of none
prajwals
08:10 AM
sojan_official how do you delete users on the super admin panel, The api is not working. Does anyone have specific rails commands to delete users?