Sign in

Get users by usernames

documented

Return users matching a list of usernames.

POST /api/v4/users/usernamesUsersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{MATTERMOST_BASE_URL}}/api/v4/users/usernames" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{{$usernames}}'
Get users by usernames · Mattermost · OpenIntegrations