Returned data from GET API request for attachment field containing an MP3 audio file


#1

I am working on an Alexa skill that executes a GET from an Airtable base where the record contains a field whose field type is Attachment. The GET in the Alexa skill assigns whatever is passed from Airtable to a variable. I don’t have a means of displaying the Alexa variable to see the contents. From the API documentation, I understand an attachment field will pass a field ID, the URL of the object and the file name of the object. Could someone provide an example of what is passed from the API using the following example:

AudioField=api_response.records.0.fields.AirtableAudioFile;

After execution, what is the contents of AudioField? Audiofield = ‘xxxxyyyyzzzz’

Thanks in advance for your reply!