Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to find the thread-key (WORKPLACE_THREAD_KEY) in workplace? #7

Open
bolinocroustibat opened this issue Apr 6, 2023 · 2 comments

Comments

@bolinocroustibat
Copy link

bolinocroustibat commented Apr 6, 2023

Would be nice to add some documentation about what is the thread-key (WORKPLACE_THREAD_KEY).
Is its the key in https://sparkmate.workplace.com/chat/t/[WORKPLACE_THREAD_KEY] for example?

@florianldt
Copy link
Owner

Hi and thank you for the feedback :)

Yes, you are correct, we can improve the documentation a bit around this. On the Facebook documentation, when creating a new named thread, we obtain this thread id in the response payload Link:
Screenshot 2023-04-09 at 2 35 49 PM

This thread id is using the format t_XXXXX.

Taking your example: https://sparkmate.workplace.com/chat/t/123456789, the WORKPLACE_THREAD_KEY will be t_123456789.

Hope it makes sense. I'll prepare modifications to the README.

@bolinocroustibat
Copy link
Author

bolinocroustibat commented Apr 11, 2023

@florianldt Amazing, thanks for your quick and precise answer.
It would be nice to update the README with those info indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants