What to pass for query token in swagger?

I am trying different endpoints through swagger. All endpoints where token is mandatory to pass are failing on whatever value I pass to token. Can you guide me what value will work for query token staying in swagger?

https://api-docs.amity.co/

curl -X ‘GET’
https://api.eu.amity.co/api/v3/users?keyword=moderator&filter=all&sortBy=displayName&options[limit]=10&options[token]=test
-H ‘accept: application/json’
-H ‘Authorization: Bearer d2fd4ecbbb4efc9b68f9*************’

{
  "status": "error",
  "message": "Query Token is invalid",
  "code": 400000,
  "data": {
    "detail": {}
  }
}

Hello,

The next page token will be returned at the end of the first page of the result response. This allows you to fetch the next page values if there are any.

,
  "paging": {
    "next": "string"
  }

Best regards,

Support Team

1 Like