Users

Users Lookup By Email

GET
/users.lookupByEmail

Find a user with an email address.

Authorization

slackAuth users:read.email
AuthorizationBearer <token>

In: header

Scope: users:read.email

Query Parameters

token*string

Authentication token. Requires scope: users:read.email

email*string

An email address belonging to a user in the workspace

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Response Body

application/json

application/json

curl -X GET "https://example.com/users.lookupByEmail?token=string&email=string" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "ok": "True",  "user": null}