curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/public/gstrs/preference \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"gstin": "27ABCDE1234F1Z5"
}
'{
"code": 200,
"timestamp": 1775825033134,
"data": {
"data": {
"response": [
{
"preference": "M",
"quarter": "Q1"
},
{
"preference": "M",
"quarter": "Q2"
},
{
"preference": "M",
"quarter": "Q3"
},
{
"preference": "M",
"quarter": "Q4"
}
]
},
"status_cd": "1"
},
"transaction_id": "903962ca-bc29-45c5-b879-3e51c7f9887d"
}API to get Return preference for taxpayers
curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/public/gstrs/preference \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"gstin": "27ABCDE1234F1Z5"
}
'{
"code": 200,
"timestamp": 1775825033134,
"data": {
"data": {
"response": [
{
"preference": "M",
"quarter": "Q1"
},
{
"preference": "M",
"quarter": "Q2"
},
{
"preference": "M",
"quarter": "Q3"
},
{
"preference": "M",
"quarter": "Q4"
}
]
},
"status_cd": "1"
},
"transaction_id": "903962ca-bc29-45c5-b879-3e51c7f9887d"
}JWT Authorization token
Pass true to get cached response.
Public key required to authorize API access.
API version
Financial year for which the return preference is requested
"FY 2025-26"
GSTIN for which the return preference is requested
Was this page helpful?