How connect to Amity server as Admin

Hello,
I would like to work with Amity Social Cloud SDK
https://api-docs.amity.co/#/User/get_api_v2_users

I generated Admin key
How to connect as Admin?

And I’m trying to get communities list and have the error.
How to get this token?

Query Token is invalid

You can access your admin token on console: https://asc.amity.co/ , go to settings > admin users > click on 3 dots in actions column > choose “Admin Token”

I Have to Admin token. Where should I insert the token?

You should include it in the header as Authorization: Bearer token.

Hello
attached get roles tab where should I enter the Admin Token?

and

It should be the “Authorization”

I have the following error

Error: response status is 401

{
  "status": "error",
  "message": "Authorization info not found",
  "code": 400100,
  "data": {
    "detail": {
      "appErrorCode": 400100
    }
  }
}

Could you please provide your full culrs via our support email: support.asc@amity.co, our team will help identify the issue.

1 Like