<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Survey123 REST API: how to get a token? featureLayerUrl? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-rest-api-how-to-get-a-token/m-p/1050736#M34122</link>
    <description>&lt;P&gt;Hi Jose,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get the feature layer url on the layer's overview page. At the bottom right, there is a url you can copy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_0-1619193248187.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11696i22ABD7F0CA566370/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_0-1619193248187.png" alt="KerryKang_0-1619193248187.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;KerryKang_0-1619193248187.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 15:54:47 GMT</pubDate>
    <dc:creator>KerryKang</dc:creator>
    <dc:date>2021-04-23T15:54:47Z</dc:date>
    <item>
      <title>Survey123 REST API: how to get a token? featureLayerUrl?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-rest-api-how-to-get-a-token/m-p/1050219#M34082</link>
      <description>&lt;P&gt;I am trying to use the&amp;nbsp;&lt;A href="https://developers.arcgis.com/survey123/api-reference/rest/report/" target="_self"&gt;feature report API&lt;/A&gt;&amp;nbsp;but the documentation at that link does not tell me how to authenticate.&lt;/P&gt;&lt;P&gt;According to that page, to get a sample report template (just testing) I have to do:&lt;/P&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN&gt;curl --location --request POST &lt;/SPAN&gt;&lt;SPAN&gt;'&lt;A href="https://survey123.arcgis.com/api/featureReport/createSampleTemplate?featureLayerUrl=????&amp;amp;token=" target="_blank" rel="noopener"&gt;https://survey123.arcgis.com/api/featureReport/createSampleTemplate?featureLayerUrl=????&amp;amp;token=&lt;/A&gt;????'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;Is the token value the API key I can generate from&amp;nbsp;&lt;A href="https://developers.arcgis.com/documentation/mapping-apis-and-services/security/api-keys/" target="_self"&gt;following this documentation&lt;/A&gt;&amp;nbsp;? So, token==API Key? if not, how do I get a token?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How do I get the featureLayerUrl for my survey123 survey that I just created?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;All I am trying to do is to create a simple survey with survey123 and then generate and fetch one of the reports it can generate using the REST API.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Apr 2021 19:24:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-rest-api-how-to-get-a-token/m-p/1050219#M34082</guid>
      <dc:creator>JoseVidal</dc:creator>
      <dc:date>2021-04-22T19:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 REST API: how to get a token? featureLayerUrl?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-rest-api-how-to-get-a-token/m-p/1050524#M34104</link>
      <description>&lt;P&gt;You can extract token in the survey form.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Use this in calculation..maybe set the type as hidden and esri type null.&lt;/P&gt;&lt;P&gt;pulldata(‘@property’,’token’)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;kerry&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 06:03:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-rest-api-how-to-get-a-token/m-p/1050524#M34104</guid>
      <dc:creator>KerryKang</dc:creator>
      <dc:date>2021-04-23T06:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 REST API: how to get a token? featureLayerUrl?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-rest-api-how-to-get-a-token/m-p/1050571#M34107</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Does anybody know how I get the&amp;nbsp;&lt;SPAN&gt;featureLayerUrl?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 10:28:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-rest-api-how-to-get-a-token/m-p/1050571#M34107</guid>
      <dc:creator>JoseVidal</dc:creator>
      <dc:date>2021-04-23T10:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 REST API: how to get a token? featureLayerUrl?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-rest-api-how-to-get-a-token/m-p/1050736#M34122</link>
      <description>&lt;P&gt;Hi Jose,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get the feature layer url on the layer's overview page. At the bottom right, there is a url you can copy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_0-1619193248187.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11696i22ABD7F0CA566370/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_0-1619193248187.png" alt="KerryKang_0-1619193248187.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;KerryKang_0-1619193248187.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 15:54:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-rest-api-how-to-get-a-token/m-p/1050736#M34122</guid>
      <dc:creator>KerryKang</dc:creator>
      <dc:date>2021-04-23T15:54:47Z</dc:date>
    </item>
  </channel>
</rss>

