Xano Get

Retrieve a single record from your Xano database

Deprecation warning: this elements functionality will be added to the Xano Query element in the near future. We will not be removing this element but will recommend moving to the Xano Query element at that time

The Xano Get element retrieves a single record from your Xano database using the API group and endpoint you specify. This element is incredibly powerful and allows you to return any data you want by creating those response types via the API Connector by setting up virtual data types.

For details on setting up virtual data types and using them with the Query element, visit my YouTube channel and watch the Getting Started with the Xano Connector episode.

Available Fields

Data type Select the type of data being returned. If nothing is selected here we will only display the raw JSON response

Endpoint Specify the endpoint this element should query

Group URL This is the API group where the endpoint exists. If not populated we will use the default Group URL defined in the plugin settings

Record ID The ID of the record you would like to retrieve.

Parameters This is a free form field. Use this field to pass the parameters your API is expecting as a JSON object

Available Events

Threw an error Runs when an error occurs getting the data

Available States

Data Returns data as the virtual data type you selected

Raw JSON Body Text of the full JSON response received from the Xano API

Error message Information about the error that occurred

Error code Code that can be used as conditions to run different workflows when an error occurs

Status code Code returned from the most recent call to the Xano API

Last updated