Skip to main content
GET
/
1
/
destinations
curl
curl --request GET \
  --url 'https://data.us.algolia.com/1/destinations?itemsPerPage=10&page=1&type=search&authenticationID=6c02aeb1-775e-418e-870b-1faccd4b2c0f&transformationID=6c02aeb1-775e-418e-870b-1faccd4b2c0f&sort=type&order=desc' \
  --header 'accept: application/json' \
  --header 'x-algolia-api-key: ALGOLIA_API_KEY' \
  --header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID'
{
  "destinations": [
    {
      "destinationID": "6c02aeb1-775e-418e-870b-1faccd4b2c0f",
      "type": "search",
      "name": "<string>",
      "owner": "<string>",
      "input": {
        "indexName": "<string>",
        "recordType": "product",
        "attributesToExclude": [
          "<string>"
        ]
      },
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "authenticationID": "6c02aeb1-775e-418e-870b-1faccd4b2c0f",
      "transformationIDs": [
        "6c02aeb1-775e-418e-870b-1faccd4b2c0f"
      ]
    }
  ],
  "pagination": {
    "nbPages": 2,
    "page": 2,
    "nbItems": 1,
    "itemsPerPage": 10
  }
}
Required ACL: addObject, deleteIndex, editSettings

Authorizations

x-algolia-application-id
string
header
required

Your Algolia application ID.

x-algolia-api-key
string
header
required

Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.

Query Parameters

itemsPerPage
integer
default:10

Number of items per page.

Required range: 1 <= x <= 100
page
integer

Page number of the paginated API response.

Required range: x >= 1
type
enum<string>[]

Destination type.

Example:

"search"

authenticationID
string[]

Authentication ID used by destinations.

Universally unique identifier (UUID) of an authentication resource.

transformationID
string

Get the list of destinations used by a transformation.

Example:

"6c02aeb1-775e-418e-870b-1faccd4b2c0f"

sort
enum<string>
default:createdAt

Property by which to sort the destinations.

Available options:
name,
type,
updatedAt,
createdAt
order
enum<string>
default:desc

Sort order of the response, ascending or descending.

Available options:
asc,
desc

Response

OK

destinations
object[]
required
pagination
object
required

Paginated API response.

I