Slack.Web.Users.lookup_by_email

You're seeing just the function lookup_by_email, go back to Slack.Web.Users module for more information.
Link to this function

lookup_by_email(email, optional_params \\ %{})

View Source

Retrieve a single user by looking them up by their registered email address. Requires users:read.email.

Required Params

  • email - User's email address

Errors the API can return:

  • missing_scope - The token used is not granted the specific scope permissions required to complete this request. Need: users:read.email.
  • user_not_found - Value passed for user was invalid.