function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bakul.patelbakul.patel 

Calling metadata api using just session id

HI,
I have an apex class which class external service. This serivce is supposed to load some metadata when called.
I was thinking that I will pass user's session id to external service, and using just session id it will be able to call that metadata api. But after searching on net for hours, I didn't find any post which allows you to call metadata api just based on session id.

Isn't it possible?

If not possible, then what are the alternates I have?

How does apps like conga composer access salesforce data without asking for username and password? Do they do OAuth?

Thanks,
Bakul