Notion Answers

Help between Notion users


Register & Ask

It's free & easy

Get answers

Answers, votes & comments

Vote and select answers

Receive points, vote and give the solution

Question

0vote

Call a external API with the connected user id or email

Hi,

I want to call, in a notion custom code, an external API who return HTML.
For example : get my next vacation day from
So the Api call should be : getNextVacationDay?user=xxxxxxx

xxxxxx must represents the userId or Email of the Notion user who makes the request (connected user).

How can i get the Notion User who makes the call ? (environement variable ?)

Please log in or register to answer this question.

...

Welcome to Notion Answers, where you can ask questions and receive answers from other members of the community.

Please share to grow the Notion Community!

Connect