What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    API: "euOnly => 1" as return value

    Asked by lpiguet on May 20, 2016 at 08:50 AM

    (I thought I submitted this already, but I can't find it on the system, so I am resubmitting)

    try {
      require_once ('jotform-api-php-master/JotForm.php');

      $api_key = 'XXX';
      $form_id = 'YYY';

      $jotformAPI = new JotForm($api_key, 'json', true);
      var_dump ($jotformAPI);
      $submissions = $jotformAPI->getFormSubmissions($form_id);

      echo '<pre>';
      echo '</pre>';
    catch (Exception $e) {

    When I run this code (with the proper API key and form ID), I receive the following response:

    array 'euOnly' => int 1

    What is the problem?
    Thank you
  • Profile Image
    JotForm Support

    Answered by Welvin on May 20, 2016 at 10:22 AM

    I think this is related to the account settings. You have opted to store your form data to our EU servers. Unfortunately, the support team has a limited knowledge with regards to our API so please contact our API team instead, api@jotform.com

  • Profile Image

    Answered by lpiguet on May 20, 2016 at 10:33 AM

    Actually, for some reason, I had already submitted this question, and received an answer on that thread (sorry for the duplication).

    The answer is:

    For EU users, you have to use https://eu-api.jotform.com as your API endpoint in order to retrieve your form data.

    To do that, open the JotForm.php file and find https://api.jotform.com (it is found on top, line 12) and replace it with https://eu-api.jotform.com

    (I'm guessing a similar fix applies to other languages/architectures)


  • Profile Image

    Answered by Boris on May 20, 2016 at 11:43 AM

    I see that the other thread you are referring to was from your main account, BP2024:


    As described there, we have two API endpoints. One is for EU only, and the other is for the rest of the world. For EU, you should use:


    For the rest of the world, you should use:


    We do not have any other region-specific API endpoints, only these two - the main one, and the EU one. You can read more about why the EU one had to be created here:


    If you need further assistance, please let us know.