API username query

I’ve run into a slight problem.

My dev is on holiday and my client has asked me to supply our API_username.

Is this something I can easily locate?

Any help/ guidance would be massively appreciated.

Thanks in advance

Ben

It depends which user name is being used - check out here and you will see the API keys that have been generated and work from there -

forumdomain.tld/admin/api/keys

3 Likes

See /admin/api/keys. You can have keys either for a particular user, or there is a master key that works for all users. If they have the “all users” api key, then the username is whatever user they want it to be.

3 Likes

Thanks guys. Very helpful

1 Like

That means I can use my username that is in the url whe the API is set to all ?

Yes, you can use your username or “system” as the api_username. Unless you are trying to get user specific information like the notifications of a user, then you would need to use their username.

3 Likes