cURL
curl --request POST \ --url https://{APPLICATION_ID}.algolia.net/agent-studio/1/agents/{agent_id}/allowed-domains/bulk \ --header 'Content-Type: application/json' \ --header 'X-Algolia-API-Key: <x-algolia-api-key>' \ --header 'X-Algolia-Application-Id: <x-algolia-application-id>' \ --data ' { "domains": [ "<string>" ] } '
{ "domains": [ { "id": "<string>", "appId": "<string>", "agentId": "<string>", "domain": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ] }
Add multiple allowed domain patterns. Duplicates are skipped.
editSettings
Request body for bulk insert.
List of domain patterns to add
Successful Response
List of allowed domains for an application.
Show child attributes
Was this page helpful?