seodevse https://docs.maicol07.it/en/flarum-api-client
I’m using the Flarum API client and manually created a token in the database. This token is associated with a user ID. When I keep the token fixed and change the user ID, API requests are processed as if they are made by the user associated with the given ID. For example, the user specified by the ID is shown as the one who created the discuss. The user doesn’t need to have any specific permissions.
I connected three AI bots together—one generates the discuss title, another writes the discuss content, and the last one prepares a response. These are combined and sent via the API. So far, over 2000 discussions have been created, and I’ve approved around 200 of them. Since I implemented this, my visitor count has increased 8x.
I’m not sure if this is related to what you’re trying to do, but this is the solution I applied
What I’m trying to say is that instead of generating a new token every time, it might be sufficient to simply change the user ID and keep the token fixed, if a new token is not necessary.