I've been searching for a way to obtain the formKey for a spreadsheet with an associated form. It looks like there was a method called getFormUrl in an older scripts api:
I can't seem to find out how to use that method nor can I find an equivalent in Version 3 of the API. Does anyone know how to obtain the formKey programmatically?
On a side note I noticed that the formKey is related to the document id. Here's the embed url from one of my forms:
The related spreadsheet url looks like this:
If I take it apart this segment is common to both. For some reason the formKey on all my forms adds on 6MQ
dFpqY0pkN193NmVCWDBkYWk4RW04SGc
Perhaps there is a hack to figure out the formKey?
Thanks,
Justin