Get task email address with API
W
Wilhelm von Konow
Currently there's no way to get the commenting email address for a given task. I'd have a need for that to create a layer of abstraction between ClickUP and our clients.
Log In
Austin Hodges
Ivan Villa It would be AMAZING if you could somehow convince the dev team to simply allow the existing v1 api to be properly authenticated with a personal key or other creds and this would already work.
Obviously the session credentials used in the browser expire quick. This would be HUGELY beneficial and a (probably) quick solution in the meantime.
Austin Hodges
✅FOUND WORKAROUND:
For anyone looking to do this, thanks to Marcelo Cecin I was able to replicate the ability to retrieve the Email to Task function via the API.
Request:
(You'll want to check which clickup server your org is using)
Authorization is Basic auth with Bearer Token
'Authorization:' 'Bearer long_token_retreived_from_network_request'
'Content-Type:' 'application/json; charset=utf-8'
To get your bearer token (your pk personal token doesn't seem to work), you'll need to:
- open a task in clickup in a browser,
- inspect the page,
- navigate to your Network Tab.
- Clear everything (ctrl+L) and make sure record is on (ctrl+E).
- Then click on the tasks 3 dot menu and click the "Send email to task" option.
- In your network tab look for the "email_token" XHR data and click on it. (Image 1)
- in the right hand pane, get the "Authorization" key with the Bearer under the Request Headers. (Image 2)
I don't know if that key is rolled (probably is, might be session related, will more than likely change every so often which sucks) BUT, I tested it a few hours apart and it seems to work as a proper authorization.
(Sorry for the noob instructions, I'm not a real developer, just know enough to do things really really wrong :) )
P.S. Dear Clickup, please don't nerf this workaround and instead make a working solution :D
![](https://canny.io/images/61c6f7f9246a2540a560436c868c4a00.png)
![](https://canny.io/images/3c0b43293a2def9591f1ff17e4c30283.png)
Marcelo Cecin
I managed to create an automation using Pipedream to migrate the items and their comments to ClickUp
Now I'm stuck migrating certain files, especially when they are larger than 5MB
It would be very important for ClickUp to list the task email in the Create Task API
this could help a lot
Marcelo Cecin
I managed to get the email address through the call:
https://prod-us-west-2-3.clickup.com/v1/task/${taskId}/email_token
J
Julis Pándi
Marcelo Cecin is this an older version of the API? it doesn't work for me - but I'm guessing that's intentional if it's outdated
Marcelo Cecin
Julis Pándi I don't know for sure, I just monitored the site's http request
Austin Hodges
Marcelo Cecin
Would really like some additional info, I get errors when using prod-us-west-2-3.clickup.com or api.clickup.com but if this is possible this would be hugely helpful!
Marcelo Cecin
Austin Hodges Sorry for the delay, it's because the authentications are different. basically the v1 version authentication I got by monitoring the web connection.
Austin Hodges
Marcelo Cecin Do you by chance have an example request? I have been playing around with this hook all day long and can't get it to auth.
How was v1 auth handled in clickup? I can't find any docs that mention V1.
Do you have an example request with headers that you are passing and does it still work or is it dead now?
Are you using your pk_ personal API token or an application auth?
EDIT: FOUND SOLUTION:
For anyone looking to do this, thanks to Marcelo Cecin I was able to replicate the ability to retrieve the Email to Task function via the API.
Basically, the api request url is like Marcelo said:
Request:
(You'll want to check which clickup server your org is using)
You'll need two headers:
Authorization
Content-Type
Authorization is Basic auth with Bearer Token
'Authorization:' 'Bearer long_token_retreived_from_network_request'
'Content-Type:' 'application/json; charset=utf-8'
To get your bearer token (your pk personal token doesn't seem to work), you'll need to
- open a task in a browser,
- inspect the page,
- navigate to your Network Tab.
- Clear everything and make sure record is on.
- Then click on the tasks 3 dot menu and click the "Email to task" option.
- In your network tab look for the "email_token" XHR data and click on it.
- in the right hand pane, get the "Authorization" key with the Bearer under the Request Headers. (See 2nd image)
I don't know if that key is rolled (probably is, might be session related, will more than likely change every so often which sucks) BUT, I tested it a few hours apart and it seems to work as a proper authorization.
(Sorry for the noob instructions, I'm not a real developer, just know enough to do things really really wrong :) )
![](https://canny.io/images/1c21dfa67ee99998b4914f0648514796.png)
![](https://canny.io/images/ce4dbd7b477ac6b795599c66ace52076.png)
Kasimir Riechel
Unfortunately, the API key expires after a few days at the latest. So it's not a long-term workaround either. 😐 ClickUp Please make it possible to retrieve this e-mail address via API 🙏🙏🙏
J
Julis Pándi
I can only repeat what others have said, it would be incerdibly useful for integrations
M
Matthijs Wolting
+1, this'd be _super_ useful for tracking correspondence on email threads initiated by workflow automation tools like Zapier/Make/Relay.app!
Enrico Luca Kindle
we need this too for CVE monitoring and adding new information
R
Rob Fitzgerald
Would love to see on the roadmap - this seems pretty straightforward to expose.
Kimberly Bourne
I am very interested in this functionality. Any update?
R
Russell Lewis
Yess please, can this be added. Absolute game changer to be able to have an integration service be able to initial that first email to the task which then enables the whole connection between email users via that conversation and that task
J
Jose Pena
Hi, any updates here? This is the only function that is stopping us from using ClickUp as a true CRM/ticketing system. Thanks!
Load More
→