slack user-id

0

I have created a bot and integrated with slack following the instructions. The bot works as expected and posts to a lambda for fulfilment.

In the lambda i see as part of the request:'x-amz-lex:user-id' which i expect to be the slack user id but its not in the normal slack format of something like UXXXXXX but is a long int such as 'x-amz-lex:user-id': '396498713242.12.691123599936'. How do i translate this to the real slack userid so i can look up the profile for that user?

thanks

Andrew

AMC777
asked 5 years ago388 views
1 Answer
0

My mistake i was looking at the x-amz-lex:user-id and the user-id field

thanks

Andrew

AMC777
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions