curl --request POST \
--url https://your-domain.com/api/client/v1/servers/{id}/files/pull \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"directory": "/",
"filename": "<string>",
"use_header": false,
"foreground": false
}
'