get cosole param from payload.