In REST API, if there is space in filter it doesn’t work

When using algolia API as https REST API and if there is space in filter it doesn’t work -

{
    "query": "",
    "filters": "name: Yashpal Singh",
    "hitsPerPage": 10,
    "page": 0
}

it returns 400 with following response -

{
    "message": "filters: Unexpected token string(Singh) expected end of filter at col 10",
    "status": 400
}