A Client ID for your org.
Body
An array containing the ID of the index you want to connect with the app. This array can have a maximum length of 1.
Response
An array indicating the connected index for the app. Empty if there are is connected index.
curl --location --request POST 'https://api.getmetal.io/v1/apps' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
--data-raw '{
"name": "Metal App"
"indexes": ["indexID"]
}'
{
"data": {
"id": "6535126922af1b89d6d22ffa",
"name": "Metal App",
"indexes": ["indexID"]
}
}