Cors issue

Hi, I am using axios on my project and copy the example in the api but I am getting preflight issue but when I use php I didn’t?

Use API to find Saved Fields

Can the API be used to determine if a field on a form came from a saved field? Is there any property that can be retrieved that denotes this?

HTTP GET request returns all submissions even when search field id and value is provided

curl --request GET --url '[https://www.formstack.com/api/v2/form/xxxxxxx/submission.json?search_field_x=xxxxxx&search_value_x=xxxxxxxxx.ca&data=false&expand_data=false](https://www.formstack.com/api/v2/form/5267595/submission.json?search_field_x=143719621&search_value_x=wdna.ca&data=false&expand_data=false)' --header 'X-FS-ENCRYPTION-PASSWORD: xxxxxxxx' --header 'accept: application/json' --header 'authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxx' I am using search field ID and search field value in the API call but it returns all the submissions. The way i am using it is as below example where search field id is the JSON field id of the form textbox search_field_x= 111111111 [email protected]
ANSWERED

Acces Token and Refresh Token

Hello we have an issue with refreshing the expired access_token. We used /token for generating access_token, along we received refresh_token. But when access_token expires and we try to generate it again using refresh token, it does not work as it says that it is already expired. It is not really clear what is the life time of the access_token and refresh_token as the expires_in field doesn't seem to be accurate. We see that expires_in field has the value of 3600 - presuming seconds it is 1h, but it is valid more then that. After that we need to use /authorize again and we need to provide another valid code, basically to have UI interaction again. Basically we can't use the flow as service to service authentication without human interaction. We are not sure if it is a bug in formstack token generation or we are misusing it. Can you please provide more information on the nature of the tokens(expiration time, encryption algo ) and what tool we can use similar to <http://jwt.io> to test it out? Thank you in advance.
ANSWERED

Order Form table

I'm building an online order form for our business and need to have a page with a table allowing customers to enter: Qty, Length, reference number, marking details I am struggling to come up with a solution using the current Formstack fields as I need a detailing sheet with these fields allowing approximately 20 line items. Id rather not have a separate page for each product and an Add New button but if that's the only solution I will have to accept it. Is it possible to set up a table where you have four columns where you need to manually enter information but with 10+ rows? The fields referenced above need to be entered numerically by the customer. Kind regards,
ANSWERED

Download submissions PDF via API

Is it possible to download the submission file through the API?
ANSWERED

I am having below issue when I am trying to merge the document. Can anyone help me in solving the issue?

![](https://files.readme.io/210a545-image.png)

When we try to query a email id with a plus symbol inside it formstack doesnot return anything ?

We tried to query submission/form/formid for getting the email from a particular submission , but emails having plus symbol in it for example [email protected] doesnot return anything , but lets say if the mail id is [email protected] the query returns.

Where can I access the OpenAPI spec json for the Formstack v2 api?

Looking to download the spec for the API.

Saved Form

Is there a way to capture the URL to return back to a form via API or WebHook so that we can update our CRM once a form has been saved as a reference point to resume?